You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Make the OpenType "Add Feature..." button full width
This commit is contained in:
@@ -56,10 +56,10 @@ public:
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
class OpenTypeFeaturesAdd : public EditorProperty {
|
||||
GDCLASS(OpenTypeFeaturesAdd, EditorProperty);
|
||||
class OpenTypeFeaturesAdd : public Button {
|
||||
GDCLASS(OpenTypeFeaturesAdd, Button);
|
||||
|
||||
Button *button = nullptr;
|
||||
Object *edited_object = nullptr;
|
||||
PopupMenu *menu = nullptr;
|
||||
PopupMenu *menu_ss = nullptr;
|
||||
PopupMenu *menu_cv = nullptr;
|
||||
@@ -73,7 +73,7 @@ protected:
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
virtual void update_property() override;
|
||||
void setup(Object *p_object);
|
||||
|
||||
OpenTypeFeaturesAdd();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user