File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -414,20 +414,18 @@ static void AboutGUI() {
414414static void FrameTick () {
415415 using namespace FredEmmott ::GUI ::StaticTheme::Common;
416416 static const auto ScrollViewStyle
417- = Style ().BackgroundColor (LayerOnAcrylicFillColorDefaultBrush);
418- BeginVScrollView ().Styled (ScrollViewStyle);
417+ = Style ().BackgroundColor (LayerOnAcrylicFillColorDefaultBrush). FlexGrow ( 1 ) ;
418+ const auto scrollView = BeginVScrollView ().Styled (ScrollViewStyle). Scoped ( );
419419
420- static const auto LayoutStyle = Style ().Gap (12 ).Margin (12 ).Padding (8 );
421- BeginVStackPanel ().Styled (LayoutStyle);
420+ static const auto LayoutStyle
421+ = Style ().Gap (12 ).Margin (12 ).Padding (8 ).FlexGrow (1 );
422+ const auto panel = BeginVStackPanel ().Styled (LayoutStyle).Scoped ();
422423
423424 CommonSettingsGUI ();
424425 UnsupportedSettingsGUI ();
425426 OpenXRGUI ();
426427 PointCtrlGUI ();
427428 AboutGUI ();
428-
429- EndVStackPanel ();
430- EndVScrollView ();
431429}
432430
433431int WINAPI wWinMain (
You can’t perform that action at this time.
0 commit comments