aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx/Ui/Windows/UserProfilesManagerWindow.Designer.cs
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2022-12-07 01:49:37 +0100
committerGitHub <noreply@github.com>2022-12-07 01:49:37 +0100
commit752b93d3b73d74d90084089f6a4c8d4b7046af7b (patch)
tree3f3bc165ce8aed5d42f9dfcb840c4e9a3ed8184c /Ryujinx/Ui/Windows/UserProfilesManagerWindow.Designer.cs
parentf23b2878ccde4e570733e9d225f836c20183fb55 (diff)
gtk: Fixes warnings about obsolete components (#4049)1.1.441
* gtk: Fixes warnings about obsolete components * remove wrong using
Diffstat (limited to 'Ryujinx/Ui/Windows/UserProfilesManagerWindow.Designer.cs')
-rw-r--r--Ryujinx/Ui/Windows/UserProfilesManagerWindow.Designer.cs21
1 files changed, 11 insertions, 10 deletions
diff --git a/Ryujinx/Ui/Windows/UserProfilesManagerWindow.Designer.cs b/Ryujinx/Ui/Windows/UserProfilesManagerWindow.Designer.cs
index 70291290..7c9ae8ba 100644
--- a/Ryujinx/Ui/Windows/UserProfilesManagerWindow.Designer.cs
+++ b/Ryujinx/Ui/Windows/UserProfilesManagerWindow.Designer.cs
@@ -52,7 +52,8 @@ namespace Ryujinx.Ui.Windows
_selectedLabel = new Label("Selected User Profile:")
{
Margin = 15,
- Attributes = new AttrList()
+ Attributes = new AttrList(),
+ Halign = Align.Start
};
_selectedLabel.Attributes.Insert(new Pango.AttrWeight(Weight.Bold));
@@ -136,7 +137,8 @@ namespace Ryujinx.Ui.Windows
_availableUsersLabel = new Label("Available User Profiles:")
{
Margin = 15,
- Attributes = new AttrList()
+ Attributes = new AttrList(),
+ Halign = Align.Start
};
_availableUsersLabel.Attributes.Insert(new Pango.AttrWeight(Weight.Bold));
@@ -226,10 +228,9 @@ namespace Ryujinx.Ui.Windows
_usersTreeViewWindow.Add(_usersTreeView);
_usersTreeViewBox.Add(_usersTreeViewWindow);
-
- _bottomBox.PackStart(new Gtk.Alignment(-1, 0, 0, 0) { _addButton }, false, false, 0);
- _bottomBox.PackStart(new Gtk.Alignment(-1, 0, 0, 0) { _deleteButton }, false, false, 0);
- _bottomBox.PackEnd(new Gtk.Alignment(1, 0, 0, 0) { _closeButton }, false, false, 0);
+ _bottomBox.PackStart(_addButton, false, false, 0);
+ _bottomBox.PackStart(_deleteButton, false, false, 0);
+ _bottomBox.PackEnd(_closeButton, false, false, 0);
_selectedUserInfoBox.Add(_selectedUserNameEntry);
_selectedUserInfoBox.Add(_selectedUserIdLabel);
@@ -238,12 +239,12 @@ namespace Ryujinx.Ui.Windows
_selectedUserButtonsBox.Add(_changeProfileImageButton);
_selectedUserBox.Add(_selectedUserImage);
- _selectedUserBox.PackStart(new Gtk.Alignment(-1, 0, 0, 0) { _selectedUserInfoBox }, true, true, 0);
- _selectedUserBox.Add(_selectedUserButtonsBox);
+ _selectedUserBox.PackStart(_selectedUserInfoBox, false, false, 0);
+ _selectedUserBox.PackEnd(_selectedUserButtonsBox, false, false, 0);
- _mainBox.PackStart(new Gtk.Alignment(-1, 0, 0, 0) { _selectedLabel }, false, false, 0);
+ _mainBox.PackStart(_selectedLabel, false, false, 0);
_mainBox.PackStart(_selectedUserBox, false, true, 0);
- _mainBox.PackStart(new Gtk.Alignment(-1, 0, 0, 0) { _availableUsersLabel }, false, false, 0);
+ _mainBox.PackStart(_availableUsersLabel, false, false, 0);
_mainBox.Add(_usersTreeViewBox);
_mainBox.Add(_bottomBox);