Activate scroll bar?
-
wrote on 26 May 2020, 23:21 last edited by Julie Db
-
wrote on 27 May 2020, 15:29 last edited by
-
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:
wrote on 27 May 2020, 15:41 last edited by JonB@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. -
wrote on 28 May 2020, 06:19 last edited by
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.wrote on 28 May 2020, 06:52 last edited by JonB@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.
4/5