mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
Fixed size of gradient popup (which could change when resizing the main window)
This commit is contained in:
parent
e573a78fd6
commit
854b0c8b98
@ -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_popup.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://addons/material_maker/widgets/gradient_editor.tscn" type="PackedScene" id=2]
|
[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 )
|
bg_color = Color( 0, 0, 0.25098, 0.752941 )
|
||||||
|
|
||||||
[node name="GradientPopup" type="Popup"]
|
[node name="GradientPopup" type="Popup"]
|
||||||
anchor_right = 1.0
|
visible = true
|
||||||
anchor_bottom = 1.0
|
margin_right = 632.0
|
||||||
margin_right = -648.0
|
margin_bottom = 49.0
|
||||||
margin_bottom = -671.0
|
size_flags_horizontal = 0
|
||||||
|
size_flags_vertical = 0
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
[node name="Panel" type="Panel" parent="."]
|
[node name="Panel" type="Panel" parent="."]
|
||||||
anchor_right = 1.0
|
margin_right = 632.0
|
||||||
anchor_bottom = 1.0
|
margin_bottom = 49.0
|
||||||
custom_styles/panel = SubResource( 2 )
|
custom_styles/panel = SubResource( 1 )
|
||||||
|
|
||||||
[node name="Control" parent="Panel" instance=ExtResource( 2 )]
|
[node name="Control" parent="Panel" instance=ExtResource( 2 )]
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
|
Loading…
Reference in New Issue
Block a user