summaryrefslogtreecommitdiff
path: root/newctrl/label_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'newctrl/label_windows.go')
-rw-r--r--newctrl/label_windows.go2
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