mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-30 17:49:57 -06:00
Avalonia - Misc changes to UX (#3643)
* Change navbar from compact to default and force text overflow globally * Fix settings window * Fix right stick control alignment * Initialize value and add logging for SDL IDs * Fix alignment of setting text and improve borders * Clean up padding and size of buttons on controller settings * Fix right side trigger alignment and correct styling * Revert axaml alignment * Fix alignment of volume widget * Fix timezone autocompletebox dropdown height * MainWindow: Line up volume status bar item * Remove margins and add padding to volume widget * Make volume text localizable. Co-authored-by: merry <git@mary.rs>
This commit is contained in:
@ -50,6 +50,7 @@ namespace Ryujinx.Ava.Ui.ViewModels
|
||||
private string _dockedStatusText;
|
||||
private string _fifoStatusText;
|
||||
private string _gameStatusText;
|
||||
private string _volumeStatusText;
|
||||
private string _gpuStatusText;
|
||||
private bool _isAmiiboRequested;
|
||||
private bool _isGameRunning;
|
||||
@ -385,11 +386,12 @@ namespace Ryujinx.Ava.Ui.ViewModels
|
||||
|
||||
public string VolumeStatusText
|
||||
{
|
||||
get
|
||||
get => _volumeStatusText;
|
||||
set
|
||||
{
|
||||
string icon = Volume == 0 ? "🔇" : "🔊";
|
||||
_volumeStatusText = value;
|
||||
|
||||
return $"{icon} {(int)(Volume * 100)}%";
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user