FLAGS for wxpython 4.2
authorpierre <ratinaud@univ-tlse2.fr>
Thu, 23 Nov 2023 17:50:16 +0000 (18:50 +0100)
committerpierre <ratinaud@univ-tlse2.fr>
Thu, 23 Nov 2023 17:50:16 +0000 (18:50 +0100)
guiparam3d.py

index 793b8cc..d0bc78e 100755 (executable)
@@ -53,13 +53,13 @@ class param3d(wx.Panel):
         sizer_3 = wx.BoxSizer(wx.VERTICAL)
         sizer_4 = wx.BoxSizer(wx.HORIZONTAL)
         sizer_5 = wx.BoxSizer(wx.VERTICAL)
-        sizer_3.Add(self.label_2, 0, wx.ALIGN_CENTER_HORIZONTAL|wx.ALIGN_CENTER_VERTICAL, 0)
+        sizer_3.Add(self.label_2, 0, wx.ALIGN_CENTER_HORIZONTAL, 0)
         sizer_3.Add(wx.StaticLine(self,-1), 0, wx.EXPAND,0)
         sizer_5.Add(self.label_3, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
-        sizer_5.Add(self.Check1, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
-        sizer_5.Add(self.Check2, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
-        sizer_5.Add(self.Check3, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
-        sizer_5.Add(self.radio_box_2, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
+        sizer_5.Add(self.Check1, 0, wx.ALIGN_LEFT, 0)
+        sizer_5.Add(self.Check2, 0, wx.ALIGN_LEFT, 0)
+        sizer_5.Add(self.Check3, 0, wx.ALIGN_LEFT, 0)
+        sizer_5.Add(self.radio_box_2, 0, wx.ALIGN_LEFT, 0)
         #sizer_4.Add(sizer_5, 0, wx.ALIGN_CENTER_HORIZONTAL, 0)
         #sizer_4.Add(self.radio_box_2, 0, wx.ALIGN_CENTER_HORIZONTAL, 0)
         sizer_3.Add(sizer_5, 1, wx.EXPAND|wx.ALIGN_CENTER_HORIZONTAL, 0)
@@ -113,29 +113,29 @@ class simi3d(wx.Panel):
         sizer_3 = wx.BoxSizer(wx.VERTICAL)
         sizer_4 = wx.BoxSizer(wx.HORIZONTAL)
         sizer_5 = wx.BoxSizer(wx.VERTICAL)
-        sizer_3.Add(self.label_2, 0, wx.ALIGN_CENTER_HORIZONTAL|wx.ALIGN_CENTER_VERTICAL, 0)
+        sizer_3.Add(self.label_2, 0, wx.ALIGN_CENTER_HORIZONTAL, 0)
         sizer_3.Add(wx.StaticLine(self,-1), 0, wx.EXPAND,0)
 
-        sizer_5.Add(self.label_7, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
-        sizer_5.Add(self.spin_1, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
+        sizer_5.Add(self.label_7, 0, wx.ALIGN_LEFT, 0)
+        sizer_5.Add(self.spin_1, 0, wx.ALIGN_LEFT, 0)
         sizer_5.Add(wx.StaticLine(self,-1), 0, wx.EXPAND,0)
-        sizer_5.Add(self.label_3, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
-        sizer_5.Add(self.Choice_1, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
+        sizer_5.Add(self.label_3, 0, wx.ALIGN_LEFT, 0)
+        sizer_5.Add(self.Choice_1, 0, wx.ALIGN_LEFT, 0)
         sizer_5.Add(wx.StaticLine(self,-1), 0, wx.EXPAND,0)
-        sizer_5.Add(self.label_4, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
-        sizer_5.Add(self.Check_1, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
+        sizer_5.Add(self.label_4, 0, wx.ALIGN_LEFT, 0)
+        sizer_5.Add(self.Check_1, 0, wx.ALIGN_LEFT, 0)
         sizer_5.Add(wx.StaticLine(self,-1), 0, wx.EXPAND,0)
-        sizer_5.Add(self.label_5, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
-        sizer_5.Add(self.Check_2, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
+        sizer_5.Add(self.label_5, 0, wx.ALIGN_LEFT, 0)
+        sizer_5.Add(self.Check_2, 0, wx.ALIGN_LEFT, 0)
         sizer_5.Add(wx.StaticLine(self,-1), 0, wx.EXPAND,0)
-        sizer_5.Add(self.label_6, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
-        sizer_5.Add(self.slider_1, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
+        sizer_5.Add(self.label_6, 0, wx.ALIGN_LEFT, 0)
+        sizer_5.Add(self.slider_1, 0, wx.ALIGN_LEFT, 0)
         sizer_5.Add(wx.StaticLine(self,-1), 0, wx.EXPAND,0)
-        sizer_5.Add(self.label_layout, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
-        sizer_5.Add(self.Choice_2, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
-        sizer_5.Add(self.movie, 0, wx.ALIGN_LEFT|wx.ALIGN_CENTER_VERTICAL, 0)
+        sizer_5.Add(self.label_layout, 0, wx.ALIGN_LEFT, 0)
+        sizer_5.Add(self.Choice_2, 0, wx.ALIGN_LEFT, 0)
+        sizer_5.Add(self.movie, 0, wx.ALIGN_LEFT, 0)
 
-        sizer_3.Add(sizer_5, 1, wx.EXPAND|wx.ALIGN_CENTER_HORIZONTAL, 0)
+        sizer_3.Add(sizer_5, 1, wx.EXPAND, 0)
         sizer_1.Add(sizer_3, 1, wx.ALIGN_CENTER_HORIZONTAL, 0)
         self.SetSizer(sizer_1)
         sizer_1.Fit(self)