Skip to content

Commit af105f2

Browse files
committed
Add RESIZE_BORDER
1 parent e4b0efb commit af105f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SparkFunKiCadPanelizer/dialog/dialog_text_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
class DialogPanelBase ( DialogShim ):
2323

2424
def __init__( self, parent ):
25-
DialogShim.__init__ ( self, parent, id = wx.ID_ANY, title = _(u"SparkFun KiCad Panelizer"), pos = wx.DefaultPosition, size = wx.Size( -1,-1 ), style = wx.DEFAULT_DIALOG_STYLE|wx.STAY_ON_TOP|wx.BORDER_DEFAULT )
25+
DialogShim.__init__ ( self, parent, id = wx.ID_ANY, title = _(u"SparkFun KiCad Panelizer"), pos = wx.DefaultPosition, size = wx.Size( -1,-1 ), style = wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER|wx.STAY_ON_TOP|wx.BORDER_DEFAULT )
2626

2727
self.SetSizeHints( wx.Size( -1,-1 ), wx.DefaultSize )
2828

text_dialog.fbp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<property name="name">DialogPanelBase</property>
4949
<property name="pos"></property>
5050
<property name="size">-1,-1</property>
51-
<property name="style">wxDEFAULT_DIALOG_STYLE|wxSTAY_ON_TOP</property>
51+
<property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxSTAY_ON_TOP</property>
5252
<property name="subclass">DialogShim; .compat; forward_declare</property>
5353
<property name="title">SparkFun KiCad Panelizer</property>
5454
<property name="tooltip"></property>

0 commit comments

Comments
 (0)