Activate scroll bar?
-
i'm want to know if is possible to activate the scroll bar of lineScroll with the QtDesigner (without input the Qt code in the scope)..
About this configs:
@Julie-Db
I could (well!) be wrong, but try unchecking that widgetResizable? I don't know for sure whether scroll bars activate to allow scrolling at design-time in the Designer. Also, I can't see/tell what widget you have picked to be theQScrollArea
's widget? If you have that wrong, it may well affect ability to display/scroll. -
I believe you are missing a layout for the widget living inside the
QScrollArea
. So far there is no reason for the widget inside the scroll area to be larger than the scroll area itself. If you put the buttons into the layout of the widget inside the scroll area, the widget will resize accordingly and trigger the use of scrollbars when necessary. -
I believe you are missing a layout for the widget living inside the
QScrollArea
. So far there is no reason for the widget inside the scroll area to be larger than the scroll area itself. If you put the buttons into the layout of the widget inside the scroll area, the widget will resize accordingly and trigger the use of scrollbars when necessary.@SimonSchroeder
Which is what I tried to suggest to the OP viaAlso, I can't see/tell what widget you have picked to be the QScrollArea's widget? If you have that wrong, it may well affect ability to display/scroll.