Skip to content

Commit e381537

Browse files
committed
update gui
1 parent ac8886e commit e381537

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/mulimgviewer/gui/main_gui.fbp

+3-3
Original file line numberDiff line numberDiff line change
@@ -5462,7 +5462,7 @@
54625462
<property name="permission">none</property>
54635463
<object class="sizeritem" expanded="true">
54645464
<property name="border">5</property>
5465-
<property name="flag">wxALL</property>
5465+
<property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
54665466
<property name="proportion">0</property>
54675467
<object class="wxStaticText" expanded="true">
54685468
<property name="BottomDockable">1</property>
@@ -5511,7 +5511,7 @@
55115511
<property name="pos"></property>
55125512
<property name="resize">Resizable</property>
55135513
<property name="show">1</property>
5514-
<property name="size">100,-1</property>
5514+
<property name="size">-1,-1</property>
55155515
<property name="style"></property>
55165516
<property name="subclass">; ; forward_declare</property>
55175517
<property name="toolbar_pane">0</property>
@@ -5524,7 +5524,7 @@
55245524
</object>
55255525
<object class="sizeritem" expanded="true">
55265526
<property name="border">5</property>
5527-
<property name="flag">wxALL</property>
5527+
<property name="flag">wxALL|wxALIGN_CENTER_VERTICAL</property>
55285528
<property name="proportion">0</property>
55295529
<object class="wxChoice" expanded="true">
55305530
<property name="BottomDockable">1</property>

src/mulimgviewer/gui/main_gui.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -445,15 +445,15 @@ def __init__( self, parent ):
445445

446446
wSizer111 = wx.WrapSizer( wx.HORIZONTAL, wx.WRAPSIZER_DEFAULT_FLAGS )
447447

448-
self.m_staticText36 = wx.StaticText( self.m_panel4, wx.ID_ANY, u"🔍️Typed", wx.DefaultPosition, wx.Size( 100,-1 ), 0 )
448+
self.m_staticText36 = wx.StaticText( self.m_panel4, wx.ID_ANY, u"🔍️Typed", wx.DefaultPosition, wx.Size( -1,-1 ), 0 )
449449
self.m_staticText36.Wrap( -1 )
450450

451-
wSizer111.Add( self.m_staticText36, 0, wx.ALL, 5 )
451+
wSizer111.Add( self.m_staticText36, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
452452

453453
Magnifier_formatChoices = [ u"equal length width", u"equal width", u"equal height " ]
454454
self.Magnifier_format = wx.Choice( self.m_panel4, wx.ID_ANY, wx.Point( -1,-1 ), wx.DefaultSize, Magnifier_formatChoices, 0 )
455455
self.Magnifier_format.SetSelection( 1 )
456-
wSizer111.Add( self.Magnifier_format, 0, wx.ALL, 5 )
456+
wSizer111.Add( self.Magnifier_format, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
457457

458458

459459
fgSizer3.Add( wSizer111, 1, wx.EXPAND, 5 )

0 commit comments

Comments
 (0)