The size of components in the container of the layout manager does not change with the size of the container.

Source: Internet
Author: User
For example, the size of a button is determined by the size of all text on the button.

|
I have several la S.ProgramRegardless of the height of the container), the coordinates of the container can be set.

If this parameter is not changed, it is only represented by the custom method setlayout (null ).

|
You can set the component size in the source code, that is, setsize (the width component size changes with the container size. The component size usually depends on the minimum size required by the display because the size of all components in the layout is auto-adaption. You can call it yourself.

|
It seems that after the layout manager is used
B. Only flowlayout does not change the component size.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.