diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-16 15:16:11 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-16 15:16:11 -0400 |
| commit | 7c9c51a0832b90fbd2e1c35ed0ba3f547911a31e (patch) | |
| tree | 088554d64335d9a5d84da9186f902f1691a30962 /newctrl/label_windows.go | |
| parent | 66d241074aaa82f4c3f4ffcdd5c0d6c73773483e (diff) | |
Fixed preferred size forgetfulness.
Diffstat (limited to 'newctrl/label_windows.go')
| -rw-r--r-- | newctrl/label_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newctrl/label_windows.go b/newctrl/label_windows.go index 1e6089d..f926081 100644 --- a/newctrl/label_windows.go +++ b/newctrl/label_windows.go @@ -42,7 +42,7 @@ const ( ) func (l *label) preferredSize(d *sizing) (width, height int) { -return 0,0//TODO return int(l._textlen), fromdlgunitsY(labelHeight, d) + return int(l.textlen), fromdlgunitsY(labelHeight, d) } /*TODO |
