Yes, widget inside is bigger, and scrollbar doesn't come up.
Yes, widget inside is bigger, and scrollbar doesn't come up.
Use layouts
Tomasz (6th September 2010)
I't works! Thanks! One more question about QScrollArea - how can I change width of scrolling bar? How should style sheet look like?
thanks in advance
best regards
Tomasz
And as a reminder, you should ALWAYS use layouts for EVERYTHING, because they align everything perfectly, even if the user has a different theme/font size.
Ok. But what about changing style of scroll bar? I want to change its width. How should my code look?
thanks in advance
best regards
Tomasz
take a look at the documentation for QStyle and QStylesheets
Bookmarks