mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-20 14:39:12 +00:00
Dynamic Element Sizes
This commit is contained in:
@@ -54,10 +54,12 @@ namespace qController
|
||||
switch (Device.RuntimePlatform)
|
||||
{
|
||||
case Device.iOS:
|
||||
menuButton.Margin = new Thickness(20, 35, 20, 10);
|
||||
menuButton.Margin =
|
||||
menuButton.Margin = new Thickness(App.WidthUnit * 2, 0, 0, App.WidthUnit * 2);
|
||||
menuButton.FontSize = App.Height * .04;
|
||||
break;
|
||||
case Device.Android:
|
||||
topBar.HeightRequest = 50;
|
||||
topBar.HeightRequest = Math.Max(App.Height * .09, 65);
|
||||
menuButton.Margin = new Thickness(20, 10, 20, 10);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user