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/textfield_windows.go | |
| parent | 66d241074aaa82f4c3f4ffcdd5c0d6c73773483e (diff) | |
Fixed preferred size forgetfulness.
Diffstat (limited to 'newctrl/textfield_windows.go')
| -rw-r--r-- | newctrl/textfield_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newctrl/textfield_windows.go b/newctrl/textfield_windows.go index 416cc2f..8b30a26 100644 --- a/newctrl/textfield_windows.go +++ b/newctrl/textfield_windows.go @@ -71,5 +71,5 @@ const ( ) func (t *textfield) preferredSize(d *sizing) (width, height int) { -return 0,0//TODO return fromdlgunitsX(textfieldWidth, d), fromdlgunitsY(textfieldHeight, d) + return fromdlgunitsX(textfieldWidth, d), fromdlgunitsY(textfieldHeight, d) } |
