mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-30 23:19:49 +00:00
Add margins to the palette container
This commit is contained in:
parent
acbfb82793
commit
df0cbe0bc2
|
@ -1,5 +1,5 @@
|
|||
class_name PalettePanel
|
||||
extends PanelContainer
|
||||
extends Container
|
||||
|
||||
var palettes_path_id := {}
|
||||
var palettes_id_path := {}
|
||||
|
|
|
@ -20,7 +20,7 @@ action = &"new_palette"
|
|||
[sub_resource type="Shortcut" id="Shortcut_6f4gc"]
|
||||
events = [SubResource("InputEventAction_mdfjt")]
|
||||
|
||||
[node name="PalettePanel" type="PanelContainer"]
|
||||
[node name="PalettePanel" type="MarginContainer"]
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
script = ExtResource("8")
|
||||
|
|
|
@ -53,7 +53,6 @@ unique_name_in_owner = true
|
|||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/h_width = 28
|
||||
can_add_swatches = false
|
||||
color_modes_visible = false
|
||||
sliders_visible = false
|
||||
|
|
|
@ -310,7 +310,7 @@ camera_path = NodePath("SubViewport/Camera2D")
|
|||
[node name="SubViewport" type="SubViewport" parent="DockableContainer/Main Canvas/ViewportandVerticalRuler/SubViewportContainer"]
|
||||
handle_input_locally = false
|
||||
canvas_item_default_texture_filter = 0
|
||||
size = Vector2i(862, 515)
|
||||
size = Vector2i(867, 513)
|
||||
render_target_update_mode = 4
|
||||
|
||||
[node name="TransparentChecker" parent="DockableContainer/Main Canvas/ViewportandVerticalRuler/SubViewportContainer/SubViewport" instance=ExtResource("5")]
|
||||
|
@ -382,8 +382,6 @@ custom_minimum_size = Vector2(130, 0)
|
|||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
|
||||
[node name="Right Tool Options" type="ScrollContainer" parent="DockableContainer"]
|
||||
custom_minimum_size = Vector2(72, 72)
|
||||
|
@ -394,8 +392,6 @@ custom_minimum_size = Vector2(130, 0)
|
|||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
|
||||
[node name="Palettes" parent="DockableContainer" instance=ExtResource("20")]
|
||||
layout_mode = 2
|
||||
|
|
Loading…
Reference in a new issue