Development experience summary-drip accumulation

Source: Internet
Author: User

See a new interface, to carefully divide the area, should be how to design reasonable.

1. If there are several lines in a cell, each line is two labels, the rule is the same, it is good to do, but the data returned by the interface may be dynamic, sometimes 5 lines are sometimes 7 lines, how to do so, so that a few lines in this cell split into multiple cells, each row is a cell, Create a separate cell, in Cellforrow, instead of loading the original cell, load different cells and pass in different data sources.

2. The requirement is this, two next to the label, in the Aotolayout label is not fixed width, the left label needs to dynamically fill in the data, the right label and always distance to the left label20 width, so how to do? First, the left label can not set a fixed width, this is set to fixed, and then edit the width of >= a small value (a), so that you can compile, after the dynamic fill in the data, the label will automatically stretch the width, The label on the right is set to 20 from the left.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Development experience summary-drip accumulation

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.