Layouting::ScrollArea Class
class Layouting::ScrollAreaWraps QScrollArea for use in a Layouting builder. More...
| Header: | #include <ScrollArea> |
| Inherits: | Layouting::Widget |
Public Functions
| void | setFixSizeHintBug(bool fixBug) |
Detailed Description
The scroll area is created with widgetResizable set to true. The inner content can be a Layout, a Widget, or a raw QWidget. By default, sizeHint is capped at 36x24 em-widths as a workaround for QTBUG-136762; call setFixSizeHintBug(true) to disable the cap.
See also Layouting::Widget.
Member Function Documentation
void ScrollArea::setFixSizeHintBug(bool fixBug)
When fixBug is true, disables the default sizeHint cap of 36x24 em-widths that works around QTBUG-136762. Enable this when the scroll area must report its full preferred size rather than capping it.