Add backButton style.
This commit is contained in:
parent
82ccac3200
commit
6fb693f606
4 changed files with 16 additions and 0 deletions
BIN
icons/box_button_back.png
Normal file
BIN
icons/box_button_back.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 218 B |
BIN
icons/box_button_back@2x.png
Normal file
BIN
icons/box_button_back@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 282 B |
BIN
icons/box_button_back@3x.png
Normal file
BIN
icons/box_button_back@3x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 251 B |
|
|
@ -1145,3 +1145,19 @@ menuToggle: IconButton {
|
|||
color: windowBgOver;
|
||||
}
|
||||
}
|
||||
|
||||
backButtonIcon: icon {{ "box_button_back", menuIconFg }};
|
||||
backButtonIconOver: icon {{ "box_button_back", menuIconFgOver }};
|
||||
backButton: IconButton(defaultIconButton) {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
|
||||
icon: backButtonIcon;
|
||||
iconOver: backButtonIconOver;
|
||||
|
||||
rippleAreaPosition: point(0px, 0px);
|
||||
rippleAreaSize: 40px;
|
||||
ripple: RippleAnimation(defaultRippleAnimation) {
|
||||
color: windowBgOver;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue