Commit 66423be2 authored by eric pellegrini's avatar eric pellegrini
Browse files

Added a specific label to grouping level widget

Modified the label of an IWdidget derived class for a better display
parent f3543734
...@@ -35,4 +35,6 @@ from MDANSE.Framework.Widgets.SingleChoiceWidget import SingleChoiceWidget ...@@ -35,4 +35,6 @@ from MDANSE.Framework.Widgets.SingleChoiceWidget import SingleChoiceWidget
class GroupingLevelWidget(SingleChoiceWidget): class GroupingLevelWidget(SingleChoiceWidget):
type = "grouping_level" type = "grouping_level"
label = "Group coordinates by"
...@@ -53,7 +53,7 @@ class IWidget(wx.Panel): ...@@ -53,7 +53,7 @@ class IWidget(wx.Panel):
self._configurator = configurator self._configurator = configurator
self._label = name self._label = ' '.join(name.capitalize().split('_'))
self.initialize() self.initialize()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment