Skip to content

Commit

Permalink
Update displaydialog
Browse files Browse the repository at this point in the history
  • Loading branch information
madjyc committed Oct 23, 2022
1 parent d550b18 commit ac81ff7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions Scenes/DisplayDialog.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ use_filter = true
font_data = SubResource( 1 )

[node name="DisplayDialog" type="WindowDialog"]
visible = true
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -88.0
margin_bottom = -53.0
rect_min_size = Vector2( 100, 100 )
rect_min_size = Vector2( 543, 100 )
resizable = true
script = ExtResource( 1 )

Expand All @@ -39,6 +40,7 @@ anchor_bottom = 1.0
[node name="Control" type="Control" parent="VBoxContainer"]
margin_right = 1192.0
margin_bottom = 671.0
rect_clip_content = true
size_flags_horizontal = 3
size_flags_vertical = 3

Expand All @@ -58,11 +60,8 @@ expand = true
stretch_mode = 6

[node name="Subtitle" type="Label" parent="VBoxContainer/Control"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -671.0
margin_bottom = -9.0
custom_colors/font_color = Color( 1, 0.976471, 0.87451, 1 )
custom_colors/font_outline_modulate = Color( 0, 0, 0, 1 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
Expand Down
3 changes: 2 additions & 1 deletion Scripts/CommentGraphNode.gd
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ func set_extra_data(extra_data: Dictionary, old_to_new: Dictionary, update_size:
img_nodes.push_back(get_node("../" + old_to_new[node_name]))
if update_size:
update_size_options()
update_size()
if not img_nodes.empty():
update_size()


func set_color(color: Color):
Expand Down

0 comments on commit ac81ff7

Please sign in to comment.