We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1665aa8 commit 7bfdbf8Copy full SHA for 7bfdbf8
magicgui/widgets/_bases/button_widget.py
@@ -28,7 +28,7 @@ def __init__(self, text: Optional[str] = None, **kwargs):
28
)
29
text = text or kwargs.get("label")
30
super().__init__(**kwargs)
31
- self.text = text or self.name
+ self.text = (text or self.name).replace("_", " ")
32
33
@property
34
def options(self) -> dict:
0 commit comments