QScrollArea size of scroll bar is not getting changed
hi guys,
i'm working on xburst processor
with qt 4.6.1.
i'm using QScrollArea to display images. But when i press zoom button the scroll bar comes automatically.
but it is width is very thin. I want to change the size of the scrollbar.
to do this i have tried the following stylesheet lines.
Code:
QString style
= "QScrollBar:horizontal {height: 30px;}" "QScrollBar:vertical {width: 30px;}";
scrollArea->setStyleSheet(style);
but size doesn't change.
then i tried the following code
Code:
QString style
= "QScrollBar:horizontal {min-height: 30px;}" "QScrollBar:vertical {min-width: 30px;}";
scrollArea->setStyleSheet(style);
using this code i'm able to change the size of scroll bar but
but app shows half cut scroll bar. i.e. view area of scroll bar remains same and i can see only half scroll bar.
any solution for this?
thank you
any comment will be appreciates!
Re: QScrollArea size of scroll bar is not getting changed
hey guys...!
are you getting what i'm trying to say..?
Re: QScrollArea size of scroll bar is not getting changed
hey guys can you help in this?
thanks
Re: QScrollArea size of scroll bar is not getting changed
hey one more thing i want to add is that when the same thing i do for the desktop edition on linux platform the application show nicely resized scroll bars .
but on embedded board scroll bars are seen half cut. .i.e. if it is vertical scroll bar the left half of the scroll bar i can see but right half i can't see...!
Re: QScrollArea size of scroll bar is not getting changed
Hey!
Have you resolve Your problem? I've got same one and have no idea what can I do about it.
thanks in advance
best regards
Tomasz