Renamed UITabWidget "TabContainer" to "TabBar".

Added UITabWidget::set/getHideWhenNotNeeded to hide the TabBar if only 1 tab is available.
UIStyle now restricts the animations in the first onStateChange received (sin there's no previous state to animate from).
Added UISplitter::swap.
Critical fix in Node::setParent.
Added Node::findByType.
Fixed Code Editor splitting.
Minor improvements in Code Editor.
This commit is contained in:
Martín Lucas Golini
2020-06-04 19:00:58 -03:00
parent 601354f3b3
commit 951d7b2e7e
22 changed files with 354 additions and 95 deletions
+1 -1
View File
@@ -399,7 +399,7 @@ TabWidget {
gravity: left|bottom;
}
TabWidget::TabContainer {
TabWidget::TabBar {
background-image: rectangle(solid, var(--tab-line));
background-size: 100% 1px;
background-position-y: bottom;
+1 -1
View File
@@ -10,7 +10,7 @@ TabWidget {
tab-separation: -1dp;
}
TabWidget::TabContainer {
TabWidget::TabBar {
background-image: rectangle(solid, #2f3030);
background-size: 100% 1dp;
background-position-y: bottom;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

After

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 249 B

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 426 B

After

Width:  |  Height:  |  Size: 426 B