mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 12:24:44 -04:00
Big UI overhaul - added PanelContainers to group similar elements
Removed separators entirely. Also made the AnimationTimeline have a StyleBoxFlat of its own, which we use to expand its margin top to cover the little space left because of the VSplitContainer. We also use a TextureRect as a fake VSplitContainer grabber.
This commit is contained in:
parent
7559756c50
commit
c1602ad26a
9 changed files with 648 additions and 501 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Theme" load_steps=35 format=2]
|
||||
[gd_resource type="Theme" load_steps=36 format=2]
|
||||
|
||||
[ext_resource path="res://assets/fonts/Roboto-Regular.tres" type="DynamicFont" id=1]
|
||||
|
||||
|
@ -185,6 +185,17 @@ anti_aliasing = false
|
|||
[sub_resource type="StyleBoxFlat" id=22]
|
||||
bg_color = Color( 0.180392, 0.180392, 0.180392, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=34]
|
||||
content_margin_left = 4.5
|
||||
content_margin_right = 4.5
|
||||
content_margin_top = 3.0
|
||||
content_margin_bottom = 3.0
|
||||
bg_color = Color( 0.247059, 0.247059, 0.247059, 1 )
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=23]
|
||||
bg_color = Color( 0.2, 0.2, 0.2, 1 )
|
||||
border_width_left = 6
|
||||
|
@ -405,6 +416,7 @@ OptionButton/styles/pressed = null
|
|||
Panel/styles/panel = SubResource( 22 )
|
||||
Panel/styles/panelf = null
|
||||
Panel/styles/panelnc = null
|
||||
PanelContainer/styles/panel = SubResource( 34 )
|
||||
PopupMenu/colors/font_color = Color( 0.878431, 0.878431, 0.878431, 1 )
|
||||
PopupMenu/colors/font_color_accel = Color( 0.7, 0.7, 0.7, 0.8 )
|
||||
PopupMenu/colors/font_color_disabled = Color( 0.4, 0.4, 0.4, 0.8 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue