diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-15 13:07:46 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-15 13:07:46 -0500 |
| commit | 99feed762802516b74ab8b251cf376f3affa6cbb (patch) | |
| tree | 72fdb7c0dd983ed4bf7c45e74b36d161737452cc /lineedit.go | |
| parent | 32e70f64143b840292b4f763ede9585d792aaccb (diff) | |
Removed setting the initial width and height in sysData.make() (this gets rid of the dummy 300x300 sizes from the controls) and added an explicit sysData.setWindowSize() to Window.Open() to ensure everything's sized properly.
Diffstat (limited to 'lineedit.go')
| -rw-r--r-- | lineedit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lineedit.go b/lineedit.go index a8c9057..9c5b25d 100644 --- a/lineedit.go +++ b/lineedit.go @@ -42,7 +42,7 @@ func (l *LineEdit) make(window *sysData) error { l.lock.Lock() defer l.lock.Unlock() - err := l.sysData.make(l.initText, 300, 300, window) + err := l.sysData.make(l.initText, window) if err != nil { return err } |
