aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/classes/GUINode.cpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2023-12-30 15:59:20 +0100
committer hop311 <hop3114@gmail.com>2023-12-30 15:59:20 +0100
commitc0cc6e202c33fb3889d0025b1b04148ae66545f2 (patch)
tree65ef49b0d12cf307269defeb0960f25ea442f777 /extension/src/openvic-extension/classes/GUINode.cpp
parentf2f42d1b65605876a6ec12626be55183b4681b88 (diff)
Added button state textures + block colour progress bars
Diffstat (limited to 'extension/src/openvic-extension/classes/GUINode.cpp')
-rw-r--r--extension/src/openvic-extension/classes/GUINode.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/classes/GUINode.cpp b/extension/src/openvic-extension/classes/GUINode.cpp
index 043f65d..89701e0 100644
--- a/extension/src/openvic-extension/classes/GUINode.cpp
+++ b/extension/src/openvic-extension/classes/GUINode.cpp
@@ -49,6 +49,9 @@ void GUINode::_bind_methods() {
}
GUINode::GUINode() {
+ set_anchors_and_offsets_preset(PRESET_FULL_RECT);
+ set_h_grow_direction(GROW_DIRECTION_BOTH);
+ set_v_grow_direction(GROW_DIRECTION_BOTH);
set_mouse_filter(MOUSE_FILTER_IGNORE);
}