diff options
author | patman <27874300+patmanf@users.noreply.github.com> | 2025-02-12 13:13:28 -0600 |
---|---|---|
committer | patman <27874300+patmanf@users.noreply.github.com> | 2025-02-26 10:45:34 -0600 |
commit | 9c582741e983d94604ebdc6d57753c2fc5091324 (patch) | |
tree | 25553b4cf9c79e907499c6d179702dee01ea704a /source/windowing/StarWidgetParsing.cpp | |
parent | 7a14ad34c6bfedfe2ffdb13bd6ea6482fc0b560f (diff) |
make scrollareas updating their children optional
Diffstat (limited to 'source/windowing/StarWidgetParsing.cpp')
-rw-r--r-- | source/windowing/StarWidgetParsing.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/windowing/StarWidgetParsing.cpp b/source/windowing/StarWidgetParsing.cpp index 7a9ea4a..68ec258 100644 --- a/source/windowing/StarWidgetParsing.cpp +++ b/source/windowing/StarWidgetParsing.cpp @@ -779,6 +779,8 @@ WidgetConstructResult WidgetParser::scrollAreaHandler(String const& name, Json c if (config.contains("verticalScroll")) scrollArea->setVerticalScroll(config.getBool("verticalScroll")); + scrollArea->setUpdatesChildren(config.getBool("updatesChildren", false)); + common(scrollArea, config); return WidgetConstructResult(scrollArea, name, config.getFloat("zlevel", 0)); } |