[X2Go-Commits] [pyhoca-gui] 02/03: pyhoca/wxgui/profilemanager.py: Don't combine wx.ALIGN_RIGHT and wx.EXPAND. wx.EXPAND overrides alignment flags.

git-admin at x2go.org git-admin at x2go.org
Tue Aug 8 16:31:00 CEST 2023


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository pyhoca-gui.

commit 6910d067030d91cb295bb670331989cd9fb709b3
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Aug 8 16:30:20 2023 +0200

    pyhoca/wxgui/profilemanager.py: Don't combine wx.ALIGN_RIGHT and wx.EXPAND. wx.EXPAND overrides alignment flags.
---
 pyhoca/wxgui/profilemanager.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index ae07acc..5870458 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -813,7 +813,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
         sizer_7_1_1_1 = wx.GridBagSizer(vgap=1, hgap=3)
         sizer_7_1_1_1.Add(self.UseLocalFolderSharing, pos=(0,0))
         sizer_7_1_1_1.Add((32,-1), pos=(0,1))
-        sizer_7_1_1_1.Add(self.RestoreSharedLocalFolders, pos=(0,2), flag=wx.ALIGN_RIGHT|wx.EXPAND)
+        sizer_7_1_1_1.Add(self.RestoreSharedLocalFolders, pos=(0,2), flag=wx.EXPAND)
         sizer_7_1_1_2 = wx.BoxSizer(wx.HORIZONTAL)
         sizer_7_1_1_2_1 = wx.BoxSizer(wx.HORIZONTAL)
         sizer_7_1_1_2_1.Add(self.SharedFolderPathLabel, flag=wx.ALIGN_CENTRE_VERTICAL)
@@ -825,7 +825,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
         sizer_7_1_1_2_3.Add(self.DeleteSharedFolderPathButton, flag=wx.ALIGN_CENTRE_VERTICAL|wx.LEFT, border=2)
         sizer_7_1_1_2.Add(sizer_7_1_1_2_1, flag=wx.EXPAND|wx.ALIGN_LEFT)
         sizer_7_1_1_2.Add(sizer_7_1_1_2_2, proportion=1, flag=wx.EXPAND|wx.ALIGN_LEFT)
-        sizer_7_1_1_2.Add(sizer_7_1_1_2_3, flag=wx.EXPAND|wx.ALIGN_RIGHT)
+        sizer_7_1_1_2.Add(sizer_7_1_1_2_3, flag=wx.EXPAND)
         sizer_7_1_1_3 = wx.BoxSizer(wx.HORIZONTAL)
         sizer_7_1_1_3.Add(self.SharedFoldersList, proportion=1, flag=wx.EXPAND)
         sizer_7_1_1.Add(sizer_7_1_1_1, flag=wx.EXPAND|wx.BOTTOM, border=12)

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git


More information about the x2go-commits mailing list