Skip to content

Commit

Permalink
Expand PowerBinder UI dialog chunks horizontally.
Browse files Browse the repository at this point in the history
  • Loading branch information
emersonrp committed Aug 4, 2024
1 parent 1c40a38 commit f099aa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UI/PowerBinderDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def LoadFromData(self, init):
index = self.RearrangeList.Append(newCommand.MakeListEntryString())
self.RearrangeList.SetClientData(index, newCommand)
if newCommand.UI:
self.EditDialog.mainSizer.Insert(0, newCommand.UI, 1, wx.ALL|wx.ALIGN_CENTER_HORIZONTAL, 10)
self.EditDialog.mainSizer.Insert(0, newCommand.UI, 1, wx.ALL|wx.EXPAND, 10)
self.EditDialog.mainSizer.Hide(newCommand.UI)
self.UpdateBindStringDisplay()

Expand Down Expand Up @@ -148,7 +148,7 @@ def OnBindChoice(self, evt):

# show the edit dialog if this command needs it
if newCommand.UI:
self.EditDialog.mainSizer.Insert(0, newCommand.UI, 1, wx.ALIGN_CENTER_HORIZONTAL|wx.ALL, 10)
self.EditDialog.mainSizer.Insert(0, newCommand.UI, 1, wx.ALL|wx.EXPAND, 10)
if (self.ShowEditDialogFor(newCommand, chosenName) == wx.ID_CANCEL):
return

Expand Down

0 comments on commit f099aa2

Please sign in to comment.