Skip to content

Commit 2b5b8c8

Browse files
authored
Add Info text to View All Tags dialog (#3029)
Closes #2518
1 parent 2636feb commit 2b5b8c8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/robotide/ui/tagdialogs.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from .. import utils
2424
from ..controller.ctrlcommands import ChangeTag
2525
from ..publish import RideOpenTagSearch
26-
from ..widgets import ButtonWithHandler, PopupMenuItems, RIDEDialog
26+
from ..widgets import ButtonWithHandler, PopupMenuItems, RIDEDialog, HelpLabel
2727

2828
_ = wx.GetTranslation # To keep linter/code analyser happy
2929
builtins.__dict__['_'] = wx.GetTranslation
@@ -61,6 +61,7 @@ def _build_ui(self):
6161
self.SetSizer(wx.BoxSizer(wx.VERTICAL))
6262
self._build_notebook()
6363
self._build_tag_lister()
64+
self._build_info_text()
6465
self._build_controls()
6566
self._build_footer()
6667
self.CenterOnParent()
@@ -81,6 +82,11 @@ def _build_tag_lister(self):
8182
sizer_tag_vw.Add(self._tags_list, 1, wx.ALL | wx.EXPAND, 3)
8283
self._notebook.AddPage(panel_tag_vw, _("The List"))
8384

85+
def _build_info_text(self):
86+
info_text = HelpLabel(self, _("Info: Right-click on a tag for actions. "
87+
"Click on headers to change sorting."))
88+
self.Sizer.Add(info_text, 0, wx.ALL, 3)
89+
8490
def _build_controls(self):
8591
self._clear_button = ButtonWithHandler(self, _('Refresh'), handler=self.on_clear)
8692
self._show_tagged_tests_button = ButtonWithHandler(self, _('Included Tag Search'),

0 commit comments

Comments
 (0)