Fixed size of gradient popup (which could change when resizing the main window)

This commit is contained in:
RodZill4 2019-10-17 07:39:36 +02:00
parent e573a78fd6
commit 854b0c8b98

View File

@ -3,20 +3,21 @@
[ext_resource path="res://addons/material_maker/widgets/gradient_popup.gd" type="Script" id=1]
[ext_resource path="res://addons/material_maker/widgets/gradient_editor.tscn" type="PackedScene" id=2]
[sub_resource type="StyleBoxFlat" id=2]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0, 0, 0.25098, 0.752941 )
[node name="GradientPopup" type="Popup"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -648.0
margin_bottom = -671.0
visible = true
margin_right = 632.0
margin_bottom = 49.0
size_flags_horizontal = 0
size_flags_vertical = 0
script = ExtResource( 1 )
[node name="Panel" type="Panel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
custom_styles/panel = SubResource( 2 )
margin_right = 632.0
margin_bottom = 49.0
custom_styles/panel = SubResource( 1 )
[node name="Control" parent="Panel" instance=ExtResource( 2 )]
anchor_right = 1.0