Tear off menu windows now have an icon
This commit is contained in:
parent
d1f0786043
commit
0ccdb609ef
1
menu.go
1
menu.go
@ -72,6 +72,7 @@ func (this *Menu) TearOff () {
|
|||||||
this.torn = true
|
this.torn = true
|
||||||
|
|
||||||
window, err := this.parent.NewChild(this.bounds)
|
window, err := this.parent.NewChild(this.bounds)
|
||||||
|
window.SetIcon(tomo.IconListChoose)
|
||||||
if err != nil { return }
|
if err != nil { return }
|
||||||
|
|
||||||
visible := this.Window.Visible()
|
visible := this.Window.Visible()
|
||||||
|
Loading…
Reference in New Issue
Block a user