We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39f66b8 commit 371a878Copy full SHA for 371a878
src/ndv/views/_wx/_array_view.py
@@ -62,6 +62,8 @@ def _add_icon(btn: wx.AnyButton, icon: str) -> None:
62
63
icon_path = svg_path(icon)
64
bitmap = wx.BitmapBundle.FromSVGFile(str(icon_path), wx.Size(16, 16))
65
+ # Note - label must be cleared first so bitmap is center-aligned
66
+ btn.SetLabel("")
67
btn.SetBitmapLabel(bitmap)
68
69
0 commit comments