summaryrefslogtreecommitdiff
path: root/lineedit.go
diff options
context:
space:
mode:
Diffstat (limited to 'lineedit.go')
-rw-r--r--lineedit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lineedit.go b/lineedit.go
index bcb28ac..037c858 100644
--- a/lineedit.go
+++ b/lineedit.go
@@ -68,11 +68,11 @@ func (l *LineEdit) make(window *sysData) error {
return nil
}
-func (l *LineEdit) setRect(x int, y int, width int, height int) error {
+func (l *LineEdit) setRect(x int, y int, width int, height int, winheight int) error {
l.lock.Lock()
defer l.lock.Unlock()
- return l.sysData.setRect(x, y, width, height)
+ return l.sysData.setRect(x, y, width, height, winheight)
}
func (l *LineEdit) preferredSize() (width int, height int, err error) {