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
-8
View File
@@ -27,10 +27,6 @@
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<AndroidSigningKeyStore>/Users/jwetzell/Dropbox/App Stuff/Android/keystores/android.keystore</AndroidSigningKeyStore> <AndroidSigningKeyStore>/Users/jwetzell/Dropbox/App Stuff/Android/keystores/android.keystore</AndroidSigningKeyStore>
<AndroidSupportedAbis>x86;armeabi-v7a;arm64-v8a;x86_64</AndroidSupportedAbis> <AndroidSupportedAbis>x86;armeabi-v7a;arm64-v8a;x86_64</AndroidSupportedAbis>
<AotAssemblies>false</AotAssemblies>
<EnableLLVM>false</EnableLLVM>
<AndroidEnableProfiledAot>false</AndroidEnableProfiledAot>
<BundleAssemblies>false</BundleAssemblies>
<MandroidI18n> <MandroidI18n>
</MandroidI18n> </MandroidI18n>
</PropertyGroup> </PropertyGroup>
@@ -54,10 +50,6 @@
<AndroidSigningKeyPass> <AndroidSigningKeyPass>
</AndroidSigningKeyPass> </AndroidSigningKeyPass>
<AndroidSupportedAbis>armeabi-v7a;x86;arm64-v8a;x86_64</AndroidSupportedAbis> <AndroidSupportedAbis>armeabi-v7a;x86;arm64-v8a;x86_64</AndroidSupportedAbis>
<AotAssemblies>false</AotAssemblies>
<EnableLLVM>false</EnableLLVM>
<AndroidEnableProfiledAot>false</AndroidEnableProfiledAot>
<BundleAssemblies>false</BundleAssemblies>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="System" /> <Reference Include="System" />
@@ -60,35 +60,43 @@ namespace qController
BorderColor = Color.Black, BorderColor = Color.Black,
VerticalOptions = LayoutOptions.CenterAndExpand, VerticalOptions = LayoutOptions.CenterAndExpand,
HorizontalOptions = LayoutOptions.FillAndExpand, HorizontalOptions = LayoutOptions.FillAndExpand,
Padding = 30, Padding = 0,
Margin = new Thickness(10,10,10,10), Margin = new Thickness(10,10,10,10),
CornerRadius=20, CornerRadius=20,
BackgroundColor = Color.FromHex("D8D8D8") BackgroundColor = Color.FromHex("D8D8D8")
}; };
View = f; View = f;
void InitItems() void InitItems()
{ {
nameLabel.HorizontalTextAlignment = TextAlignment.Center; nameLabel.HorizontalTextAlignment = TextAlignment.Center;
nameLabel.VerticalTextAlignment = TextAlignment.End; nameLabel.VerticalTextAlignment = TextAlignment.End;
nameLabel.FontAttributes = FontAttributes.Bold; nameLabel.FontAttributes = FontAttributes.Bold;
nameLabel.FontSize = App.HeightUnit * 3; nameLabel.FontSize = App.HeightUnit * 3;
nameLabel.Margin = new Thickness(0, 20, 0, 0);
nameLabel.BackgroundColor = Color.IndianRed;
addressLabel.HorizontalTextAlignment = TextAlignment.Center; addressLabel.HorizontalTextAlignment = TextAlignment.Center;
addressLabel.VerticalTextAlignment = TextAlignment.Start; addressLabel.VerticalTextAlignment = TextAlignment.Start;
addressLabel.FontSize = App.HeightUnit * 2.5; 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.VerticalOptions = LayoutOptions.CenterAndExpand;
connectLabel.Text = QIcon.WIFI; connectLabel.Text = QIcon.WIFI;
connectLabel.FontSize = App.HeightUnit * 6; connectLabel.FontSize = App.HeightUnit * 5;
connectLabel.TextColor = Color.LimeGreen; connectLabel.TextColor = Color.LimeGreen;
connectLabel.BackgroundColor = Color.IndianRed;
deleteLabel.HorizontalOptions = LayoutOptions.CenterAndExpand; deleteLabel.HorizontalOptions = LayoutOptions.CenterAndExpand;
deleteLabel.VerticalOptions = LayoutOptions.CenterAndExpand; deleteLabel.VerticalOptions = LayoutOptions.CenterAndExpand;
deleteLabel.Text = QIcon.TRASH_EMPTY; deleteLabel.Text = QIcon.TRASH_EMPTY;
deleteLabel.FontSize = App.HeightUnit * 6; deleteLabel.FontSize = App.HeightUnit * 5;
deleteLabel.TextColor = Color.Red; deleteLabel.TextColor = Color.Red;
deleteLabel.BackgroundColor = Color.IndianRed;
connectLabel.FontFamily = App.QFont; connectLabel.FontFamily = App.QFont;
deleteLabel.FontFamily = App.QFont; deleteLabel.FontFamily = App.QFont;