|
ZenitUI
Retained-mode C++20 UI framework
|
A generic scrolling container. More...
Go to the source code of this file.
Classes | |
| class | ZenitUI::UI::ScrollView |
| A Layout with overflow: scroll on both axes by default. More... | |
A generic scrolling container.
ScrollView is a very thin wrapper around Layout: it just sets overflow: scroll on both axes via getInlineDefaults() and enables interaction. The actual scroll logic lives in ScrollController, embedded in Layout.
The inline defaults (rather than inline base) are used so that application CSS can override them without needing !important-style hacks — theme rules win over inlineDefaults but lose to inlineBase.