Skip to content

Commit

Permalink
Auto-size row labels for long strings
Browse files Browse the repository at this point in the history
This makes us automatically size the row labels after building the
memory editor in case the driver has very long special memory labels.

Related to #10478
  • Loading branch information
kk7ds committed Jun 27, 2023
1 parent 7f0026a commit 5b47866
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chirp/wxui/memedit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1659,6 +1659,7 @@ def update_font(self, refresh=True):
self.refresh()
wx.CallAfter(self._grid.AutoSizeColumns, setAsMin=False)
wx.CallAfter(self._grid.AutoSizeRows, setAsMin=False)
wx.CallAfter(self._grid.SetRowLabelSize, wx.grid.GRID_AUTOSIZE)

def cb_copy(self, cut=False):
rows = self.get_selected_rows_safe()
Expand Down

0 comments on commit 5b47866

Please sign in to comment.