summaryrefslogtreecommitdiff
path: root/label.go
diff options
context:
space:
mode:
Diffstat (limited to 'label.go')
-rw-r--r--label.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/label.go b/label.go
index 82b8731..36bdb3f 100644
--- a/label.go
+++ b/label.go
@@ -55,8 +55,14 @@ func (l *Label) make(window *sysData) error {
return nil
}
-func (l *Label) setRect(x int, y int, width int, height int, winheight int) error {
- return l.sysData.setRect(x, y, width, height, winheight)
+func (l *Label) 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 *Label) preferredSize() (width int, height int) {