MCPcopy Create free account
hub / github.com/YtFlow/Maple / CoreTitleBar_LayoutMetricsChanged

Method CoreTitleBar_LayoutMetricsChanged

Maple.App/MainPage.cpp:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 }
39
40 void MainPage::CoreTitleBar_LayoutMetricsChanged(CoreApplicationViewTitleBar const& coreTitleBar, IInspectable const&)
41 {
42 LeftPaddingColumn().Width(GridLength{ .Value = coreTitleBar.SystemOverlayLeftInset(), .GridUnitType = GridUnitType::Pixel });
43 RightPaddingColumn().Width(GridLength{ .Value = coreTitleBar.SystemOverlayRightInset(), .GridUnitType = GridUnitType::Pixel });
44 }
45 void MainPage::CoreWindow_Activated(IInspectable const&, WindowActivatedEventArgs const& args)
46 {
47 UISettings settings{};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected