Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SparkFunKiCadPanelizer/dialog/dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(self, parent, config, layertable, ordering, panelizer, func):

self.panel = DialogPanel(self, config, layertable, ordering, panelizer, func)

best_size = self.BestSize
best_size = self.panel.BestSize
# hack for some gtk themes that incorrectly calculate best size
best_size.IncBy(dx=0, dy=30)
self.SetClientSize(best_size)
Expand Down
2 changes: 1 addition & 1 deletion SparkFunKiCadPanelizer/dialog/dialog_text_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class DialogPanelBase ( DialogShim ):

def __init__( self, parent ):
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 )
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 )

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

Expand Down
2 changes: 1 addition & 1 deletion SparkFunKiCadPanelizer/resource/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.1"
__version__ = "1.1.2"
2 changes: 1 addition & 1 deletion text_dialog.fbp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<property name="name">DialogPanelBase</property>
<property name="pos"></property>
<property name="size">-1,-1</property>
<property name="style">wxDEFAULT_DIALOG_STYLE|wxSTAY_ON_TOP</property>
<property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxSTAY_ON_TOP</property>
<property name="subclass">DialogShim; .compat; forward_declare</property>
<property name="title">SparkFun KiCad Panelizer</property>
<property name="tooltip"></property>
Expand Down