mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-13 19:33:52 +00:00
Dynamic Element Sizes
This commit is contained in:
@@ -72,21 +72,22 @@ namespace qController
|
||||
nameLabel.HorizontalTextAlignment = TextAlignment.Center;
|
||||
nameLabel.VerticalTextAlignment = TextAlignment.End;
|
||||
nameLabel.FontAttributes = FontAttributes.Bold;
|
||||
nameLabel.FontSize = 20;
|
||||
nameLabel.FontSize = App.HeightUnit * 3;
|
||||
|
||||
addressLabel.HorizontalTextAlignment = TextAlignment.Center;
|
||||
addressLabel.VerticalTextAlignment = TextAlignment.Start;
|
||||
addressLabel.FontSize = App.HeightUnit * 2.5;
|
||||
|
||||
connectLabel.HorizontalOptions = LayoutOptions.CenterAndExpand;
|
||||
connectLabel.VerticalOptions = LayoutOptions.CenterAndExpand;
|
||||
connectLabel.Text = QIcon.WIFI;
|
||||
connectLabel.FontSize = 40;
|
||||
connectLabel.FontSize = App.HeightUnit * 6;
|
||||
connectLabel.TextColor = Color.LimeGreen;
|
||||
|
||||
deleteLabel.HorizontalOptions = LayoutOptions.CenterAndExpand;
|
||||
deleteLabel.VerticalOptions = LayoutOptions.CenterAndExpand;
|
||||
deleteLabel.Text = QIcon.TRASH_EMPTY;
|
||||
deleteLabel.FontSize = 40;
|
||||
deleteLabel.FontSize = App.HeightUnit * 6;
|
||||
deleteLabel.TextColor = Color.Red;
|
||||
|
||||
connectLabel.FontFamily = App.QFont;
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace qController
|
||||
RowDefinitions =
|
||||
{
|
||||
new RowDefinition{Height = GridLength.Star},
|
||||
new RowDefinition{Height = GridLength.Star}
|
||||
new RowDefinition{Height = new GridLength(2, GridUnitType.Star)}
|
||||
},
|
||||
ColumnDefinitions =
|
||||
{
|
||||
@@ -69,7 +69,7 @@ namespace qController
|
||||
number = new Label {
|
||||
Text = "",
|
||||
FontAttributes = FontAttributes.Bold,
|
||||
FontSize = 30,
|
||||
FontSize = App.HeightUnit * 5,
|
||||
Margin = new Thickness(5)
|
||||
};
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace qController
|
||||
Text = "Loading Workspace....",
|
||||
FontAttributes = FontAttributes.Bold,
|
||||
HorizontalTextAlignment = TextAlignment.Center,
|
||||
FontSize = 20,
|
||||
FontSize = App.HeightUnit * 3.5,
|
||||
Margin = new Thickness(0)
|
||||
};
|
||||
|
||||
@@ -87,10 +87,13 @@ namespace qController
|
||||
VerticalTextAlignment = TextAlignment.Center,
|
||||
HorizontalTextAlignment = TextAlignment.End,
|
||||
Margin = new Thickness(5),
|
||||
FontSize = 27
|
||||
FontSize = App.HeightUnit * 5
|
||||
};
|
||||
|
||||
notes = new Label { Text = "Loading Cue Lists and Playhead Position" };
|
||||
notes = new Label {
|
||||
Text = "Loading Cue Lists and Playhead Position",
|
||||
HorizontalTextAlignment = TextAlignment.Center
|
||||
};
|
||||
notes.HorizontalTextAlignment = TextAlignment.Center;
|
||||
notes.Margin = new Thickness(0, 0, 0, 10);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user