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:
parent
0cb1e926b5
commit
41790aa743
10 changed files with 133 additions and 86 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue