Fix explicit definition of nested styles, resolve parent style if the style for the variant is not present in the stylesheet.
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
[Button]
|
||||
BackgroundColor = "#0f62fe"
|
||||
CornerRadius = 16.0
|
||||
TextColor = "#ffffff"
|
||||
Padding = 16.0
|
||||
|
||||
# Creates an empty rule for Button.Normal.
|
||||
# This will inherit style from Button, this is a temporary workaround.
|
||||
[Button.Normal]
|
||||
|
||||
[Button.Hovered]
|
||||
BackgroundColor = "#0353e9"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user