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/checkbox_windows.go | |
| parent | 66d241074aaa82f4c3f4ffcdd5c0d6c73773483e (diff) | |
Fixed preferred size forgetfulness.
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) -*/ } |
