diff options
Diffstat (limited to 'newctrl/checkbox_windows.go')
| -rw-r--r-- | newctrl/checkbox_windows.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/newctrl/checkbox_windows.go b/newctrl/checkbox_windows.go index b1f2e8a..ffabbdc 100644 --- a/newctrl/checkbox_windows.go +++ b/newctrl/checkbox_windows.go @@ -69,8 +69,6 @@ const ( ) func (c *checkbox) preferredSize(d *sizing) (width, height int) { -return 0,0/*TODO - return fromdlgunitsX(checkboxXFromLeftOfBoxToLeftOfLabel, d) + int(c._textlen), + return fromdlgunitsX(checkboxXFromLeftOfBoxToLeftOfLabel, d) + int(c.textlen), fromdlgunitsY(checkboxHeight, d) -*/ } |
