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.
QString style
= "QScrollBar:horizontal {height: 30px;}" "QScrollBar:vertical {width: 30px;}";
scrollArea->setStyleSheet(style);
QString style = "QScrollBar:horizontal {height: 30px;}"
"QScrollBar:vertical {width: 30px;}";
scrollArea->setStyleSheet(style);
To copy to clipboard, switch view to plain text mode
but size doesn't change.
then i tried the following code
QString style
= "QScrollBar:horizontal {min-height: 30px;}" "QScrollBar:vertical {min-width: 30px;}";
scrollArea->setStyleSheet(style);
QString style = "QScrollBar:horizontal {min-height: 30px;}"
"QScrollBar:vertical {min-width: 30px;}";
scrollArea->setStyleSheet(style);
To copy to clipboard, switch view to plain text mode
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!
Bookmarks