online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/colorpicker/ColorPicker.tscn')
| -rw-r--r-- | ui/colorpicker/ColorPicker.tscn | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/ui/colorpicker/ColorPicker.tscn b/ui/colorpicker/ColorPicker.tscn index 3bbde35..d39ed16 100644 --- a/ui/colorpicker/ColorPicker.tscn +++ b/ui/colorpicker/ColorPicker.tscn @@ -11,11 +11,11 @@ [ext_resource path="res://ui/colorpicker/ColorSelect.material" type="Material" id=11] [sub_resource type="DynamicFont" id=1] -size = 17 +size = 26 font_data = ExtResource( 4 ) fallback/0 = ExtResource( 2 ) -[node name="ColorPicker" type="Control"] +[node name="ColorPicker" type="MarginContainer"] margin_right = 125.0 margin_bottom = 125.0 rect_min_size = Vector2( 125, 125 ) @@ -25,35 +25,35 @@ __meta__ = { } [node name="V" type="VBoxContainer" parent="."] -margin_right = 125.0 -margin_bottom = 125.0 +margin_right = 185.0 +margin_bottom = 185.0 custom_constants/separation = 5 [node name="H" type="HBoxContainer" parent="V"] -margin_right = 125.0 -margin_bottom = 100.0 +margin_right = 185.0 +margin_bottom = 150.0 custom_constants/separation = 5 -[node name="HueSlider" type="Control" parent="V/H"] -margin_right = 20.0 -margin_bottom = 100.0 -rect_min_size = Vector2( 20, 100 ) +[node name="HueSlider" type="MarginContainer" parent="V/H"] +margin_right = 30.0 +margin_bottom = 150.0 +rect_min_size = Vector2( 30, 150 ) size_flags_vertical = 0 script = ExtResource( 6 ) [node name="ShaderHolder" type="ColorRect" parent="V/H/HueSlider"] show_behind_parent = true material = ExtResource( 10 ) -anchor_right = 1.0 -anchor_bottom = 1.0 +margin_right = 30.0 +margin_bottom = 150.0 mouse_filter = 2 color = Color( 1, 0, 0, 1 ) -[node name="ColorSelect" type="Control" parent="V/H"] -margin_left = 25.0 -margin_right = 125.0 -margin_bottom = 100.0 -rect_min_size = Vector2( 100, 100 ) +[node name="ColorSelect" type="MarginContainer" parent="V/H"] +margin_left = 35.0 +margin_right = 185.0 +margin_bottom = 150.0 +rect_min_size = Vector2( 150, 150 ) hint_tooltip = "click it!" size_flags_horizontal = 0 size_flags_vertical = 0 @@ -62,20 +62,20 @@ script = ExtResource( 7 ) [node name="ShaderHolder" type="ColorRect" parent="V/H/ColorSelect"] show_behind_parent = true material = ExtResource( 11 ) -anchor_right = 1.0 -anchor_bottom = 1.0 +margin_right = 150.0 +margin_bottom = 150.0 mouse_filter = 2 [node name="H2" type="HBoxContainer" parent="V"] -margin_top = 105.0 -margin_right = 125.0 -margin_bottom = 125.0 +margin_top = 155.0 +margin_right = 185.0 +margin_bottom = 185.0 custom_constants/separation = 0 [node name="Close" type="Button" parent="V/H2"] -margin_right = 20.0 -margin_bottom = 20.0 -rect_min_size = Vector2( 20, 0 ) +margin_right = 30.0 +margin_bottom = 30.0 +rect_min_size = Vector2( 30, 30 ) focus_mode = 0 mouse_default_cursor_shape = 2 theme = ExtResource( 3 ) @@ -83,23 +83,23 @@ custom_fonts/font = SubResource( 1 ) text = "" [node name="Spacer" type="Control" parent="V/H2"] -margin_left = 20.0 -margin_right = 25.0 -margin_bottom = 20.0 +margin_left = 30.0 +margin_right = 35.0 +margin_bottom = 30.0 rect_min_size = Vector2( 5, 0 ) [node name="OldColorView" type="ColorRect" parent="V/H2"] -margin_left = 25.0 -margin_right = 75.0 -margin_bottom = 20.0 -rect_min_size = Vector2( 50, 20 ) +margin_left = 35.0 +margin_right = 110.0 +margin_bottom = 30.0 +rect_min_size = Vector2( 75, 30 ) script = ExtResource( 9 ) [node name="NewColorPreview" type="ColorRect" parent="V/H2"] -margin_left = 75.0 -margin_right = 125.0 -margin_bottom = 20.0 -rect_min_size = Vector2( 50, 20 ) +margin_left = 110.0 +margin_right = 185.0 +margin_bottom = 30.0 +rect_min_size = Vector2( 75, 30 ) [connection signal="hue_changed" from="V/H/HueSlider" to="V/H/ColorSelect" method="_hue_changed"] [connection signal="color_changed" from="V/H/ColorSelect" to="." method="_color_changed"] |