mirror of
https://github.com/CrispyPin/ovr-utils.git
synced 2024-11-25 00:30:25 +01:00
fix xyz widget to be square
This commit is contained in:
parent
dba81f3ddc
commit
7b9a8b101f
2 changed files with 12 additions and 2 deletions
|
@ -9,8 +9,13 @@ __meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="TextureRect" type="TextureRect" parent="."]
|
[node name="AspectRatioContainer" type="AspectRatioContainer" parent="."]
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="AspectRatioContainer"]
|
||||||
|
margin_left = 212.0
|
||||||
|
margin_right = 812.0
|
||||||
|
margin_bottom = 600.0
|
||||||
texture = ExtResource( 1 )
|
texture = ExtResource( 1 )
|
||||||
expand = true
|
expand = true
|
||||||
|
|
|
@ -9,8 +9,13 @@ __meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="TextureRect" type="TextureRect" parent="."]
|
[node name="AspectRatioContainer" type="AspectRatioContainer" parent="."]
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="AspectRatioContainer"]
|
||||||
|
margin_left = 212.0
|
||||||
|
margin_right = 812.0
|
||||||
|
margin_bottom = 600.0
|
||||||
texture = ExtResource( 1 )
|
texture = ExtResource( 1 )
|
||||||
expand = true
|
expand = true
|
||||||
|
|
Loading…
Reference in a new issue