summaryrefslogtreecommitdiff
path: root/label.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-13 18:05:07 -0400
committerPietro Gagliardi <[email protected]>2014-04-13 18:05:07 -0400
commitfb50badf00db0ba2da8a99aa75b489c620f8a971 (patch)
treebe2cf962c861c650607589cbb279364ccfd3107a /label.go
parente4c27a4a725c898ffb674f5202295dc96ce05ff1 (diff)
Fixed Area test time label weirdness by making Labels truncate their text instead of word-wrapping on all platforms. This doesn't explain GTK+/Wayland, alas.
Diffstat (limited to 'label.go')
-rw-r--r--label.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/label.go b/label.go
index 69cdddc..74bc0f7 100644
--- a/label.go
+++ b/label.go
@@ -7,6 +7,7 @@ import (
)
// A Label is a static line of text used to mark other controls.
+// Label text is drawn on a single line; text that does not fit is truncated.
type Label struct {
lock sync.Mutex
created bool