Data driven themes update their style on application
This commit is contained in:
parent
992a5b23f9
commit
82657bf251
@ -138,6 +138,7 @@ func (this *Theme) Apply (object tomo.Object, role theme.Role) event.Cookie {
|
|||||||
this.execute(object, rule.Pressed...)
|
this.execute(object, rule.Pressed...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
updateStyle()
|
||||||
|
|
||||||
return event.MultiCookie (
|
return event.MultiCookie (
|
||||||
box.OnFocusEnter(updateStyle),
|
box.OnFocusEnter(updateStyle),
|
||||||
|
Loading…
Reference in New Issue
Block a user