diff options
Diffstat (limited to 'lineedit.go')
| -rw-r--r-- | lineedit.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lineedit.go b/lineedit.go index 2d89a5c..71f4529 100644 --- a/lineedit.go +++ b/lineedit.go @@ -67,8 +67,14 @@ func (l *LineEdit) make(window *sysData) error { return nil } -func (l *LineEdit) setRect(x int, y int, width int, height int, winheight int) error { - return l.sysData.setRect(x, y, width, height, winheight) +func (l *LineEdit) setRect(x int, y int, width int, height int) []resizerequest { + return []resizerequest{resizerequest{ + sysData: l.sysData, + x: x, + y: y, + width: width, + height: height, + }} } func (l *LineEdit) preferredSize() (width int, height int) { |
