Buttons.Relayout += (s, e) =>
{
+ float titleExtraSizeHeight = ScreenSizeUtils.GetExtraSizeHeight(Title);
+ titleTopMargin += (int)titleExtraSizeHeight;
+
Title.Margin = new Extents(0, 0, (ushort)(titleTopMargin - (ScreenSizeUtils.GetExtraSizeHeight(Title) > 0 ? Title.SizeHeight / 2 : 0)), 0);
};
}
xmlns:ctrl="clr-namespace:Oobe.Common.Controls"
BackgroundImage="*Resource*/wifi/Rectangle_918.png"
FlexLayout.FlexAlignmentSelf="Center"
- Margin="{ext:Extents Bottom=95, Top=20}"
- Size="{ext:ComponentSize Width=1080, Height=568, WidthPortrait=824, HeightPortrait=880, ChangeOnPortraitMode=true}"
+ Margin="{ext:Extents Bottom=41, Top=20}"
+ Size="{ext:ComponentSize Width=1080, Height=568, WidthPortrait=824, HeightPortrait=1472, ChangeOnPortraitMode=true}"
Padding="{ext:Extents Top=5, Bottom=5}">
<View.Layout>
CommandBack = new Command(nav.Previous),
NextButtonStyle = "SkipButton",
};
- var titleTopMargin = (ushort)((ScreenSizeUtils.IsPortrait ? 330 : (int)(0.035f * Window.Instance.Size.Height)) * ScreenSizeUtils.YRatio);
+ var titleTopMargin = (ushort)((ScreenSizeUtils.IsPortrait ? 32 : (int)(0.035f * Window.Instance.Size.Height)) * ScreenSizeUtils.YRatio);
var container = new BasePage(titleTopMargin, false) { BindingContext = vm };
wifiView = new WifiView(State.IsTurnedOn);