mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-10 18:03:55 +00:00
Adjust InstanceCell formatting
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user