Switch to Heights based on Display Dimensions

This commit is contained in:
2019-06-25 01:59:47 -05:00
parent 20dc095515
commit 60ec28c952
9 changed files with 27 additions and 10 deletions
@@ -73,11 +73,14 @@ namespace qController
{
App.rootPage.MenuPage.ChangeToControl();
NavigationPage.SetHasNavigationBar(this, false);
instanceName.HorizontalTextAlignment = TextAlignment.Center;
instanceName.HorizontalOptions = LayoutOptions.CenterAndExpand;
instanceName.VerticalOptions = LayoutOptions.CenterAndExpand;
topBar.Children.Add(instanceName, 1, 0);
topBar.BackgroundColor = Color.FromHex("71AEFF");
topBar.HeightRequest = Math.Max(App.Height * .09, 65);
BackgroundColor = Color.FromHex("4A4A4A");
menuButton.Text = QIcon.MENU;
@@ -96,6 +99,8 @@ namespace qController
qCell = new QSelectedCueCell();
qCell.HeightRequest = Math.Max(App.Height * .20, 125);
sLayout.Children.Add(qCell);
}