Skip to content

Commit c02d77f

Browse files
committed
Prevent infinite overflows when the window is very thin
1 parent 901ef08 commit c02d77f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/UniGetUI/Pages/SoftwarePages/AbstractPackagesPage.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,12 +511,14 @@
511511
FontFamily="Segoe UI Variable Display"
512512
FontSize="30"
513513
FontWeight="Bold"
514+
MaxHeight="70"
514515
TextWrapping="Wrap" />
515516
<TextBlock
516517
x:Name="MainSubtitle"
517518
HorizontalAlignment="Left"
518519
x:FieldModifier="protected"
519520
FontSize="11"
521+
MaxHeight="40"
520522
FontWeight="Normal"
521523
Foreground="{ThemeResource AppBarItemDisabledForegroundThemeBrush}"
522524
TextWrapping="Wrap" />

src/UniGetUI/Services/UserAvatar.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private async Task<PointButton> GenerateLogoutControl()
198198
{
199199
Padding = new Thickness(0),
200200
HorizontalAlignment = HorizontalAlignment.Stretch,
201-
Content = "Backup settings",
201+
Content = CoreTools.Translate("Package backup settings"),
202202
FontSize = 12
203203
};
204204
hyperlinkButton.Click += (_, _) => MainApp.Instance.MainWindow.NavigationPage.OpenSettingsPage(typeof(Backup));

0 commit comments

Comments
 (0)