Skip to content

Commit b3809df

Browse files
committed
Fix alignment for thanks text overflow
1 parent 45c57a3 commit b3809df

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

StabilityMatrix.Avalonia/Views/Settings/AccountSettingsPage.axaml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -226,19 +226,19 @@
226226

227227
<!-- Expanded: Supporting since, Community, Manage link -->
228228
<ui:SettingsExpanderItem Padding="16,12">
229-
<Grid ColumnDefinitions="*,*,*" RowDefinitions="Auto,Auto,Auto">
229+
<Grid ColumnDefinitions="*,0.5*,0.7*" RowDefinitions="Auto,Auto,Auto">
230230
<!-- Column headers -->
231231
<TextBlock
232232
Grid.Row="0"
233233
Grid.Column="0"
234-
Margin="0,0,0,6"
234+
Margin="0,0,16,6"
235235
FontWeight="SemiBold"
236236
Foreground="{DynamicResource TextFillColorSecondaryBrush}"
237237
Text="{x:Static lang:Resources.Label_SupportingSince}" />
238238
<TextBlock
239239
Grid.Row="0"
240240
Grid.Column="1"
241-
Margin="0,0,0,6"
241+
Margin="16,0,16,6"
242242
FontWeight="SemiBold"
243243
Foreground="{DynamicResource TextFillColorSecondaryBrush}"
244244
Text="{x:Static lang:Resources.Label_Community}" />
@@ -247,10 +247,13 @@
247247
<TextBlock
248248
Grid.Row="1"
249249
Grid.Column="0"
250-
Text="{Binding MemberSinceText, FallbackValue=''}" />
250+
Margin="0,0,16,0"
251+
Text="{Binding MemberSinceText, FallbackValue=''}"
252+
TextWrapping="Wrap" />
251253
<Button
252254
Grid.Row="1"
253255
Grid.Column="1"
256+
Margin="16,0"
254257
Padding="8,4"
255258
Classes="transparent"
256259
Command="{x:Static helpers:IOCommands.OpenUriCommand}"
@@ -263,6 +266,7 @@
263266
<controls:HyperlinkIconButton
264267
Grid.Row="1"
265268
Grid.Column="2"
269+
Margin="16,0,0,0"
266270
Command="{Binding OpenMembershipUrlCommand}"
267271
Content="{x:Static lang:Resources.Action_ManageMembership}"
268272
Icon="Open" />
@@ -271,9 +275,10 @@
271275
<TextBlock
272276
Grid.Row="2"
273277
Grid.Column="0"
274-
Margin="0,4,0,0"
278+
Margin="0,4,16,0"
275279
Foreground="{DynamicResource TextFillColorSecondaryBrush}"
276-
Text="{x:Static lang:Resources.Label_ThankYouSupporter}" />
280+
Text="{x:Static lang:Resources.Label_ThankYouSupporter}"
281+
TextWrapping="Wrap" />
277282
</Grid>
278283
</ui:SettingsExpanderItem>
279284
</ui:SettingsExpander>

0 commit comments

Comments
 (0)