diff options
-rw-r--r-- | ui/confview.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/confview.go b/ui/confview.go index b8381fa1..a44da527 100644 --- a/ui/confview.go +++ b/ui/confview.go @@ -138,12 +138,16 @@ func (lt *labelTextLine) show(text string) { lt.label.SetVisible(true) lt.text.SetVisible(true) lt.text.SetTextSelection(s, e) + + lt.label.Parent().SendMessage(win.WM_SIZING, 0, 0) //TODO: This here is a filthy hack that shouldn't be required! } func (lt *labelTextLine) hide() { lt.text.SetText("") lt.label.SetVisible(false) lt.text.SetVisible(false) + + lt.label.Parent().SendMessage(win.WM_SIZING, 0, 0) //TODO: This here is a filthy hack that shouldn't be required! } func newLabelTextLine(fieldName string, parent walk.Container) *labelTextLine { |