Skip to content

Commit

Permalink
Merge pull request #70 from db0/scroll
Browse files Browse the repository at this point in the history
fix scroll hiding info:
  • Loading branch information
db0 authored Dec 27, 2022
2 parents 3a0ae87 + 9a5cc1a commit bc0c4c8
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
25 changes: 12 additions & 13 deletions ConfigSlider.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,36 @@
[ext_resource path="res://ConfigSlider.gd" type="Script" id=1]

[node name="ConfigSlider" type="VBoxContainer"]
margin_right = 16.0
margin_bottom = 510.0
margin_right = 300.0
margin_bottom = 527.0
script = ExtResource( 1 )

[node name="Labels" type="HBoxContainer" parent="."]
margin_right = 20.0
margin_bottom = 507.0
margin_right = 300.0
margin_bottom = 14.0

[node name="ConfigName" type="Label" parent="Labels"]
unique_name_in_owner = true
margin_right = 1.0
margin_bottom = 507.0
margin_right = 281.0
margin_bottom = 14.0
size_flags_horizontal = 3
text = "Number of images to generate"
autowrap = true

[node name="ConfigValue" type="Label" parent="Labels"]
unique_name_in_owner = true
margin_left = 5.0
margin_top = 246.0
margin_right = 20.0
margin_bottom = 260.0
margin_left = 285.0
margin_right = 300.0
margin_bottom = 14.0
rect_min_size = Vector2( 15, 0 )
text = "1"
align = 2

[node name="HSlider" type="HSlider" parent="."]
unique_name_in_owner = true
margin_top = 511.0
margin_right = 20.0
margin_bottom = 527.0
margin_top = 18.0
margin_right = 300.0
margin_bottom = 34.0
mouse_filter = 1
min_value = 1.0
max_value = 20.0
Expand Down
18 changes: 10 additions & 8 deletions StableHordeClient.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ margin_top = 32.0
margin_right = -5.0
margin_bottom = -5.0
rect_min_size = Vector2( 300, 0 )
scroll_horizontal_enabled = false

[node name="Basic" type="VBoxContainer" parent="TabContainer/Generate/VBoxContainer/MainArea/Controls/Basic"]
unique_name_in_owner = true
Expand All @@ -271,7 +272,6 @@ custom_constants/separation = 20

[node name="Amount" parent="TabContainer/Generate/VBoxContainer/MainArea/Controls/Basic/Basic" instance=ExtResource( 5 )]
unique_name_in_owner = true
margin_right = 300.0
margin_bottom = 63.0

[node name="Model" type="VBoxContainer" parent="TabContainer/Generate/VBoxContainer/MainArea/Controls/Basic/Basic"]
Expand Down Expand Up @@ -480,41 +480,42 @@ unique_name_in_owner = true

[node name="Advanced" type="ScrollContainer" parent="TabContainer/Generate/VBoxContainer/MainArea/Controls"]
visible = false
margin_right = 12.0
margin_bottom = 12.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 5.0
margin_top = 32.0
margin_right = -5.0
margin_bottom = -5.0
rect_min_size = Vector2( 300, 0 )
scroll_horizontal_enabled = false

[node name="Advanced" type="VBoxContainer" parent="TabContainer/Generate/VBoxContainer/MainArea/Controls/Advanced"]
unique_name_in_owner = true
margin_right = 300.0
margin_bottom = 1325.0
margin_bottom = 585.0
rect_min_size = Vector2( 300, 0 )
custom_constants/separation = 20

[node name="Width" parent="TabContainer/Generate/VBoxContainer/MainArea/Controls/Advanced/Advanced" instance=ExtResource( 5 )]
unique_name_in_owner = true
margin_right = 300.0
margin_bottom = 63.0
config_setting = "width"

[node name="Height" parent="TabContainer/Generate/VBoxContainer/MainArea/Controls/Advanced/Advanced" instance=ExtResource( 5 )]
unique_name_in_owner = true
margin_top = 83.0
margin_right = 300.0
margin_bottom = 146.0
config_setting = "height"

[node name="StepsSlider" parent="TabContainer/Generate/VBoxContainer/MainArea/Controls/Advanced/Advanced" instance=ExtResource( 5 )]
unique_name_in_owner = true
margin_top = 166.0
margin_right = 300.0
margin_bottom = 229.0
config_setting = "steps"

[node name="ConfigSlider" parent="TabContainer/Generate/VBoxContainer/MainArea/Controls/Advanced/Advanced" instance=ExtResource( 5 )]
unique_name_in_owner = true
margin_top = 249.0
margin_right = 300.0
margin_bottom = 312.0
config_setting = "cfg_scale"

Expand Down Expand Up @@ -562,6 +563,7 @@ visible = false
margin_right = 12.0
margin_bottom = 12.0
rect_min_size = Vector2( 300, 0 )
scroll_horizontal_enabled = false

[node name="img2img" type="VBoxContainer" parent="TabContainer/Generate/VBoxContainer/MainArea/Controls/img2img"]
unique_name_in_owner = true
Expand Down
2 changes: 1 addition & 1 deletion addons/stable_horde_client/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="Stable Horde"
description="A client for generating Stable Diffusion AI images on the fly using the Stable Horde"
author="db0"
version="0.10.0"
version="2.3.0"
script="plugin.gd"

0 comments on commit bc0c4c8

Please sign in to comment.