wade0608
(wade0608)
June 28, 2023, 6:11am
1
I want to let my layout change when I clicked the button.
There is a horizontal box in the bottom of my layout and the right hand side is the sidebar menu.
And then, I hope the horizontal box will scale when I chick the button to expand the sidebar menu. How can I do, must use animation?
First pics:
The result I wanted:
→
Everynone
(Everynone)
June 28, 2023, 7:21am
2
Just dropping a link, answered here:
add the border and the panel to a horizontal box, you can use another horizontal box inside the border to house other items. Or replace the border with just a horizontal box if no background is needed. The example you have a is a bit unclear.
the wPanel is set to auto size
the horizontal box in the canvas no longer Sizes To Content (see previous posts) - the desired functionality changed since the first post request
the size box here may not be needed if you fill the border with some other cont…
If you want this done with a button, call the script that’s shown on button click, either instead or in addition to.
system
(system)
Closed
July 28, 2023, 7:21am
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.