diff options
Diffstat (limited to 'src/Ryujinx/Ui/Widgets/GtkInputDialog.cs')
-rw-r--r-- | src/Ryujinx/Ui/Widgets/GtkInputDialog.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Ryujinx/Ui/Widgets/GtkInputDialog.cs b/src/Ryujinx/Ui/Widgets/GtkInputDialog.cs index 21b34937..e4fb5aa1 100644 --- a/src/Ryujinx/Ui/Widgets/GtkInputDialog.cs +++ b/src/Ryujinx/Ui/Widgets/GtkInputDialog.cs @@ -12,26 +12,26 @@ namespace Ryujinx.Ui.Widgets Title = title; - Label mainTextLabel = new Label + Label mainTextLabel = new() { - Text = mainText + Text = mainText, }; InputEntry = new Entry { - MaxLength = (int)inputMax + MaxLength = (int)inputMax, }; - Label inputMaxTextLabel = new Label + Label inputMaxTextLabel = new() { - Text = $"(Max length: {inputMax})" + Text = $"(Max length: {inputMax})", }; - ((Box)MessageArea).PackStart(mainTextLabel, true, true, 0); - ((Box)MessageArea).PackStart(InputEntry, true, true, 5); + ((Box)MessageArea).PackStart(mainTextLabel, true, true, 0); + ((Box)MessageArea).PackStart(InputEntry, true, true, 5); ((Box)MessageArea).PackStart(inputMaxTextLabel, true, true, 0); ShowAll(); } } -}
\ No newline at end of file +} |