From a31399a337a51e487929fa3ddd1497d8e2cbfc45 Mon Sep 17 00:00:00 2001 From: qu1ck Date: Mon, 15 May 2023 08:43:36 -0700 Subject: [PATCH] Minor dialog UI fixes --- InteractiveHtmlBom/dialog/dialog_base.py | 4 ++-- settings_dialog.fbp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/InteractiveHtmlBom/dialog/dialog_base.py b/InteractiveHtmlBom/dialog/dialog_base.py index f41a2e8..6b3c5d4 100644 --- a/InteractiveHtmlBom/dialog/dialog_base.py +++ b/InteractiveHtmlBom/dialog/dialog_base.py @@ -119,7 +119,7 @@ def __init__( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx. highlightPin1Choices = [ u"None", u"All", u"Selected" ] self.highlightPin1 = wx.RadioBox( self, wx.ID_ANY, u"Highlight first pin", wx.DefaultPosition, wx.DefaultSize, highlightPin1Choices, 3, wx.RA_SPECIFY_COLS ) self.highlightPin1.SetSelection( 0 ) - b_sizer.Add( self.highlightPin1, 0, wx.ALL, 5 ) + b_sizer.Add( self.highlightPin1, 0, wx.ALL|wx.EXPAND, 5 ) bSizer18 = wx.BoxSizer( wx.VERTICAL ) @@ -182,7 +182,7 @@ def __init__( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx. sbSizer10.Add( self.openBrowserCheckbox, 0, wx.ALL, 5 ) - b_sizer.Add( sbSizer10, 1, wx.EXPAND, 5 ) + b_sizer.Add( sbSizer10, 1, wx.EXPAND|wx.ALL, 5 ) self.SetSizer( b_sizer ) diff --git a/settings_dialog.fbp b/settings_dialog.fbp index d0ffb7f..629f833 100644 --- a/settings_dialog.fbp +++ b/settings_dialog.fbp @@ -739,7 +739,7 @@ 5 - wxALL + wxALL|wxEXPAND 0 1 @@ -1309,7 +1309,7 @@ 5 - wxEXPAND + wxEXPAND|wxALL 1 wxID_ANY