Adjust InstanceCell formatting

This commit is contained in:
2019-12-16 10:17:25 -06:00
parent 7575fe1135
commit 1c69f9cdba
2 changed files with 12 additions and 12 deletions
@@ -60,35 +60,43 @@ namespace qController
BorderColor = Color.Black,
VerticalOptions = LayoutOptions.CenterAndExpand,
HorizontalOptions = LayoutOptions.FillAndExpand,
Padding = 30,
Padding = 0,
Margin = new Thickness(10,10,10,10),
CornerRadius=20,
BackgroundColor = Color.FromHex("D8D8D8")
};
View = f;
void InitItems()
{
nameLabel.HorizontalTextAlignment = TextAlignment.Center;
nameLabel.VerticalTextAlignment = TextAlignment.End;
nameLabel.FontAttributes = FontAttributes.Bold;
nameLabel.FontSize = App.HeightUnit * 3;
nameLabel.Margin = new Thickness(0, 20, 0, 0);
nameLabel.BackgroundColor = Color.IndianRed;
addressLabel.HorizontalTextAlignment = TextAlignment.Center;
addressLabel.VerticalTextAlignment = TextAlignment.Start;
addressLabel.FontSize = App.HeightUnit * 2.5;
addressLabel.Margin = new Thickness(0, 0, 0, 20);
addressLabel.BackgroundColor = Color.IndianRed;
connectLabel.HorizontalOptions = LayoutOptions.CenterAndExpand;
connectLabel.HorizontalOptions = LayoutOptions.StartAndExpand;
connectLabel.VerticalOptions = LayoutOptions.CenterAndExpand;
connectLabel.Text = QIcon.WIFI;
connectLabel.FontSize = App.HeightUnit * 6;
connectLabel.FontSize = App.HeightUnit * 5;
connectLabel.TextColor = Color.LimeGreen;
connectLabel.BackgroundColor = Color.IndianRed;
deleteLabel.HorizontalOptions = LayoutOptions.CenterAndExpand;
deleteLabel.VerticalOptions = LayoutOptions.CenterAndExpand;
deleteLabel.Text = QIcon.TRASH_EMPTY;
deleteLabel.FontSize = App.HeightUnit * 6;
deleteLabel.FontSize = App.HeightUnit * 5;
deleteLabel.TextColor = Color.Red;
deleteLabel.BackgroundColor = Color.IndianRed;
connectLabel.FontFamily = App.QFont;
deleteLabel.FontFamily = App.QFont;