PM-3349 PM-3350 Fix for text getting cut/truncated in both account switcher and ciphers/search lists

Issue is due to MAUI but can be avoided by using slightly different layout
This commit is contained in:
Dinis Vieira 2023-12-03 22:17:16 +00:00
parent 5b756aaf7a
commit 465e5eff76
No known key found for this signature in database
GPG key ID: 9389160FF6C295F3
2 changed files with 6 additions and 8 deletions

View file

@ -58,10 +58,6 @@
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Label
Grid.Row="0"
Text="{Binding AccountView.Email}"

View file

@ -64,23 +64,25 @@
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Label
LineBreakMode="TailTruncation"
Grid.Column="0"
Grid.Row="0"
HorizontalTextAlignment="Start"
LineBreakMode="TailTruncation"
StyleClass="list-title, list-title-platform"
Text="{Binding Cipher.Name}"
AutomationId="CipherNameLabel" />
<Label
LineBreakMode="TailTruncation"
Grid.Column="0"
Grid.Row="1"
Grid.ColumnSpan="3"
HorizontalTextAlignment="Start"
LineBreakMode="TailTruncation"
StyleClass="list-subtitle, list-subtitle-platform"
Text="{Binding Cipher.SubTitle}"
IsVisible="{Binding Source={RelativeSource Self}, Path=Text,