summaryrefslogtreecommitdiff
path: root/label.go
diff options
context:
space:
mode:
Diffstat (limited to 'label.go')
-rw-r--r--label.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/label.go b/label.go
index 25cdc5d..88e79af 100644
--- a/label.go
+++ b/label.go
@@ -56,11 +56,11 @@ func (l *Label) make(window *sysData) error {
return nil
}
-func (l *Label) setRect(x int, y int, width int, height int) error {
+func (l *Label) 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 *Label) preferredSize() (width int, height int, err error) {