Fix Some Profile Dropdown inconsistencies

This commit is contained in:
_Neo_ 2026-07-14 01:08:23 +03:00 committed by Gabriel
parent 8674e26135
commit 67a33d4f5c
2 changed files with 5 additions and 3 deletions

View file

@ -102,7 +102,7 @@
HorizontalAlignment="Stretch"
VerticalAlignment="Center"
MaxHeight="32"
Padding="8,0,44,0"
Padding="12,0,44,0"
IsEnabled="{Binding ShowSettings}"
SelectedItem="{Binding ChosenProfile, Mode=TwoWay}"
SelectionChanged="ComboBox_SelectionChanged"
@ -113,12 +113,13 @@
<Setter Property="TextTrimming" Value="CharacterEllipsis" />
<Setter Property="TextWrapping" Value="NoWrap" />
<Setter Property="MaxLines" Value="1" />
<Setter Property="MaxWidth" Value="170" />
</Style>
<Style Selector="TextBox">
<Setter Property="TextWrapping" Value="NoWrap" />
<Setter Property="MaxLines" Value="1" />
<Setter Property="Padding" Value="0,0,36,0" />
<Setter Property="Padding" Value="0,0,0,0" />
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="VerticalAlignment" Value="Center" />
</Style>
</ui:FAComboBox.Styles>
</ui:FAComboBox>

View file

@ -67,6 +67,7 @@ namespace Ryujinx.Ava.UI.Views.Input
{
Text = profileName,
VerticalAlignment = Avalonia.Layout.VerticalAlignment.Center,
HorizontalAlignment = Avalonia.Layout.HorizontalAlignment.Left,
TextTrimming = TextTrimming.CharacterEllipsis,
TextWrapping = TextWrapping.NoWrap,
MaxWidth = 170