mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-12 22:36:59 +00:00
Some margins and formatting adjustments
This commit is contained in:
parent
45263b8f95
commit
48affd0b69
4 changed files with 5 additions and 5 deletions
|
|
@ -29,7 +29,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
|
|||
[ObservableProperty]
|
||||
public partial Color LedColor { get; set; }
|
||||
|
||||
public string RainbowSpeedText => RainbowSpeed.ToString(CultureInfo.CurrentCulture).Truncate(4, string.Empty);
|
||||
public string RainbowSpeedText => RainbowSpeed.ToString("F2", CultureInfo.CurrentCulture);
|
||||
|
||||
public float RainbowSpeed
|
||||
{
|
||||
|
|
|
|||
|
|
@ -31,10 +31,10 @@
|
|||
TickFrequency="0.25"
|
||||
IsSnapToTickEnabled="True"
|
||||
LargeChange="1"
|
||||
SmallChange="0.01"
|
||||
SmallChange="0.25"
|
||||
Minimum="0"
|
||||
Maximum="10" />
|
||||
<TextBlock Margin="5,0,5,1" Text="{Binding RainbowSpeedText}" />
|
||||
<TextBlock Margin="5,0,0,2.5" Text="{Binding RainbowSpeedText}" />
|
||||
</StackPanel>
|
||||
<StackPanel Margin="0,2.5,0,0" Orientation="Horizontal" IsEnabled="{Binding ShowLedColorPicker}">
|
||||
<TextBlock Text="{ext:Locale ControllerSettingsLedColor}" />
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
Focusable="True">
|
||||
<StackPanel>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<Grid Margin="10,10,10,0" RowDefinitions="Auto,Auto" ColumnDefinitions="Auto,*,Auto">
|
||||
<Grid Margin="10,0,10,0" RowDefinitions="Auto,Auto" ColumnDefinitions="Auto,*,Auto">
|
||||
<TextBlock
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
x:Class="Ryujinx.Ava.UI.Views.Input.RumbleInputView"
|
||||
x:DataType="viewModels:RumbleInputViewModel"
|
||||
Focusable="True">
|
||||
<Grid Margin="10" RowDefinitions="Auto,Auto" ColumnDefinitions="Auto,*,Auto">
|
||||
<Grid Margin="10,10,10,0" RowDefinitions="Auto,Auto" ColumnDefinitions="Auto,*,Auto">
|
||||
<TextBlock
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue