Open dong-king opened 2 months ago
Containers that are immediate children of the Docking Manager container are automatically resized to match available area. And consequently, all the child widgets of these containers are moved and resized proportionally by default. You can control these by using the following controls:
Above, I set button to pin to the top and left edge and also I set width and height to be fixed, so it will not be moved or resized when its parent change size.
"Pin to edge" and "Fix size" controls are also used for the case when "Scale to fit" option of the Page is checked
And for the User widgets if User widget is defined with some width and height, but on the page where it is used is set different width and height, so we use these controls to know how to resize widgets that are inside user widget.
Describe the bug The size of the widgets in the docker container is not normal The width and height of these two buttons are 80 and 40 respectively. when running, the width and height of the two buttons are not 80 and 40. The size of the two buttons is related to the layout of the docking manager container.
Screenshots Edit mode:![image](https://github.com/eez-open/studio/assets/58795990/7dd4bcab-8520-4e51-9ebd-628909065b00)
Run mode:![image](https://github.com/eez-open/studio/assets/58795990/c1fc3dd6-a5ac-40c7-8fa3-2614fcaa6356)
Desktop (please complete the following information):