Skip to content

Commit 408f6cf

Browse files
author
minggo
authored
Ability to change title position (#19587)
1 parent 86a9e0c commit 408f6cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos/ui/UIButton.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ class CC_GUI_DLL Button : public Widget
341341
void disabledTextureScaleChangedWithSize();
342342

343343
virtual void adaptRenderers() override;
344-
void updateTitleLocation();
344+
virtual void updateTitleLocation();
345345
void updateContentSize();
346346
virtual void createTitleRenderer();
347347
bool createTitleRendererIfNull();

0 commit comments

Comments
 (0)