summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2017-07-19 23:30:39 -0300
committerGeorge Marques <george@gmarqu.es>2017-07-19 23:30:39 -0300
commit2a0c0db028c84c75f4a927d0fd400449f3236952 (patch)
tree418afa61210dceb91766c5796dd1a79c74c211d1
parent25678b1876816b9ccb14b2c92aef62f3b009f88f (diff)
Fix "vertical" property of StyleBoxLine
-rw-r--r--scene/resources/style_box.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/style_box.cpp b/scene/resources/style_box.cpp
index f108809c83..e0a9de6062 100644
--- a/scene/resources/style_box.cpp
+++ b/scene/resources/style_box.cpp
@@ -482,7 +482,7 @@ void StyleBoxLine::_bind_methods() {
ADD_PROPERTY(PropertyInfo(Variant::COLOR, "color"), "set_color", "get_color");
ADD_PROPERTY(PropertyInfo(Variant::INT, "thickness", PROPERTY_HINT_RANGE, "0,10"), "set_thickness", "get_thickness");
- ADD_PROPERTY(PropertyInfo(Variant::BOOL, "vertical"), "set_vertical", "get_vertical");
+ ADD_PROPERTY(PropertyInfo(Variant::BOOL, "vertical"), "set_vertical", "is_vertical");
}
float StyleBoxLine::get_style_margin(Margin p_margin) const {
return thickness;