|
5 | 5 | xmlns:local="clr-namespace:Trimble.Modus.Components;assembly=Trimble.Modus.Components" |
6 | 6 | x:Class="Trimble.Modus.Components.ControlLabel" |
7 | 7 | x:Name="controlLabelView"> |
8 | | - <Grid x:Name="view" |
9 | | - BindingContext="{x:Reference controlLabelView}" |
10 | | - ColumnSpacing="6" |
11 | | - ColumnDefinitions="auto,auto" |
12 | | - IsVisible="{Binding TitleText,Converter={StaticResource IsStringNotNullOrEmptyConverter}}"> |
| 8 | + <Grid x:Name="view" |
| 9 | + BindingContext="{x:Reference controlLabelView}" |
| 10 | + ColumnSpacing="6" |
| 11 | + ColumnDefinitions="*,Auto" HorizontalOptions="Start" |
| 12 | + IsVisible="{Binding TitleText,Converter={StaticResource IsStringNotNullOrEmptyConverter}}"> |
13 | 13 | <Label x:Name="inputLabel" |
14 | | - Padding="0,0,0,5" |
15 | | - Grid.Column="0" |
16 | | - FontFamily="OpenSansSemibold" |
17 | | - Text="{Binding TitleText}" |
18 | | - VerticalOptions="Center" |
19 | | - LineBreakMode="WordWrap" |
20 | | - HorizontalOptions="Start" /> |
| 14 | + Padding="0,0,0,5" |
| 15 | + Grid.Column="0" |
| 16 | + FontFamily="OpenSansSemibold" |
| 17 | + Text="{Binding TitleText}" |
| 18 | + VerticalOptions="Center" |
| 19 | + LineBreakMode="WordWrap" |
| 20 | + HorizontalOptions="Start" /> |
21 | 21 | <Label Text="*" |
22 | | - Grid.Column="1" |
23 | | - IsVisible="{Binding IsRequired}" |
24 | | - FontFamily="OpenSansSemibold" |
25 | | - TextColor="{DynamicResource Danger}" /> |
| 22 | + Grid.Column="1" |
| 23 | + IsVisible="{Binding IsRequired}" |
| 24 | + FontFamily="OpenSansSemibold" |
| 25 | + HorizontalOptions="Start" |
| 26 | + VerticalOptions="Center" |
| 27 | + TextColor="{DynamicResource Danger}" /> |
26 | 28 | </Grid> |
27 | 29 | </ContentView> |
0 commit comments