Skip to content

Commit

Permalink
wxGUI/gmodeler: fix conflicting flags in 'Create relation' dialog
Browse files Browse the repository at this point in the history
* meanwhile, fix the button size to see them in the default pop-up

fix OSGeo#3862
  • Loading branch information
pesekon2 committed Jun 17, 2024
1 parent 5fbf526 commit 1d8ffa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/wxpython/gmodeler/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,11 +413,11 @@ def _layout(self):
border=5,
)
mainSizer.Add(
btnSizer, proportion=0, flag=wx.EXPAND | wx.ALL | wx.ALIGN_CENTER, border=5
btnSizer, proportion=0, flag=wx.EXPAND | wx.ALL, border=5
)

self.panel.SetSizer(mainSizer)
mainSizer.Fit(self.panel)
mainSizer.Fit(self)

self.Layout()
self.SetSize(self.GetBestSize())
Expand Down

0 comments on commit 1d8ffa8

Please sign in to comment.