We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我定义了一个带滚动条的 VBox 类,如下: class CustomScrollVBox : public ui::ScrollableBox { public: CustomScrollVBox() : ui::ScrollableBox(new ui::VLayout()) { } }; 然后CreateControl 也正确调用了。 xml 定义如下: <CustomScrollVBox halign="center" width="350" margin="0,20,0,0" height="300" vscrollbar="true">
class CustomScrollVBox : public ui::ScrollableBox { public: CustomScrollVBox() : ui::ScrollableBox(new ui::VLayout()) { } };
<CustomScrollVBox halign="center" width="350" margin="0,20,0,0" height="300" vscrollbar="true">
但是没有效果,滚动条不出现。 请问我哪里写的不对啊?
The text was updated successfully, but these errors were encountered:
抱歉,滚动出现了。是我没有注意到。
Sorry, something went wrong.
No branches or pull requests
我定义了一个带滚动条的 VBox 类,如下:
class CustomScrollVBox : public ui::ScrollableBox { public: CustomScrollVBox() : ui::ScrollableBox(new ui::VLayout()) { } };
然后CreateControl 也正确调用了。
xml 定义如下:
<CustomScrollVBox halign="center" width="350" margin="0,20,0,0" height="300" vscrollbar="true">
但是没有效果,滚动条不出现。
请问我哪里写的不对啊?
The text was updated successfully, but these errors were encountered: