More CSS specification clean up and improvements.

UIPushButton refactorization.
Fixed crash on tooltip close.
And several minor changes to adapt the CSS specification changes into the widgets.
This commit is contained in:
Martín Lucas Golini
2020-04-04 02:43:19 -03:00
parent 94019a7658
commit 9a43551b6b
29 changed files with 456 additions and 389 deletions
+25 -3
View File
@@ -19,7 +19,7 @@ TabWidget::TabContainer {
ProgressBar {
display-percent: true;
vertical-expand: true;
movement-speed: 32 0;
movement-speed: 32dp 0dp;
padding: 2dp;
}
@@ -36,8 +36,25 @@ Menu,
PopUpMenu {
color: #E6E6E6FF;
min-width: 100dp;
min-icon-space: 24dp;
min-margin-right: 8dp;
min-icon-size: 16dp 16dp;
}
Menu::Item,
Menu::CheckBox,
Menu::Separator,
Menu::SubMenu {
padding-left: 4dp;
}
Menu::Item::text,
Menu::CheckBox::text,
Menu::Separator::text,
Menu::SubMenu::text {
padding-right: 4dp;
}
Menu::SubMenu::arrow {
margin-right: 1dp;
}
Menu:hover,
@@ -70,6 +87,11 @@ Window::title {
font-style: shadow;
}
Tab::text {
padding-left: 4dp;
padding-right: 4dp;
}
Tooltip {
padding: 8dp;
color: #020203;