better, but still wrong dropdown menu sizes
This commit is contained in:
parent
04406b3561
commit
3e7287baea
4
size.go
4
size.go
|
@ -355,7 +355,9 @@ func (tk *guiWidget) getFullSize() rectType {
|
||||||
case widget.Checkbox:
|
case widget.Checkbox:
|
||||||
return tk.buttonFullSize()
|
return tk.buttonFullSize()
|
||||||
case widget.Dropdown:
|
case widget.Dropdown:
|
||||||
return tk.buttonFullSize()
|
r := tk.buttonFullSize()
|
||||||
|
r.w1 += 7 // TODO: fix this to be real
|
||||||
|
return r
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue