Skip to content

Commit a31399a

Browse files
committed
Minor dialog UI fixes
1 parent 3dc5f7d commit a31399a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

InteractiveHtmlBom/dialog/dialog_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def __init__( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.
119119
highlightPin1Choices = [ u"None", u"All", u"Selected" ]
120120
self.highlightPin1 = wx.RadioBox( self, wx.ID_ANY, u"Highlight first pin", wx.DefaultPosition, wx.DefaultSize, highlightPin1Choices, 3, wx.RA_SPECIFY_COLS )
121121
self.highlightPin1.SetSelection( 0 )
122-
b_sizer.Add( self.highlightPin1, 0, wx.ALL, 5 )
122+
b_sizer.Add( self.highlightPin1, 0, wx.ALL|wx.EXPAND, 5 )
123123

124124
bSizer18 = wx.BoxSizer( wx.VERTICAL )
125125

@@ -182,7 +182,7 @@ def __init__( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.
182182
sbSizer10.Add( self.openBrowserCheckbox, 0, wx.ALL, 5 )
183183

184184

185-
b_sizer.Add( sbSizer10, 1, wx.EXPAND, 5 )
185+
b_sizer.Add( sbSizer10, 1, wx.EXPAND|wx.ALL, 5 )
186186

187187

188188
self.SetSizer( b_sizer )

settings_dialog.fbp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@
739739
</object>
740740
<object class="sizeritem" expanded="1">
741741
<property name="border">5</property>
742-
<property name="flag">wxALL</property>
742+
<property name="flag">wxALL|wxEXPAND</property>
743743
<property name="proportion">0</property>
744744
<object class="wxRadioBox" expanded="1">
745745
<property name="BottomDockable">1</property>
@@ -1309,7 +1309,7 @@
13091309
</object>
13101310
<object class="sizeritem" expanded="1">
13111311
<property name="border">5</property>
1312-
<property name="flag">wxEXPAND</property>
1312+
<property name="flag">wxEXPAND|wxALL</property>
13131313
<property name="proportion">1</property>
13141314
<object class="wxStaticBoxSizer" expanded="1">
13151315
<property name="id">wxID_ANY</property>

0 commit comments

Comments
 (0)