Firemonkey Mobile Screen Adaptive program problem

Source: Internet
Author: User

I am a novice. When I learned for 2 weeks, the idiot boss said what mobile screen adaptive program, I did not understand it, I think with Delphi layout design is not OK. "I just want to keep the contents of the control on a small screen phone," he said. I said, that's the layout. The result is that stupid x is a drawing control about the location of the screen, but also the location of the record control, a large set of the whole. The whole of me to the whole dizzy, the novice hurt Ah, I do not know Delphi Xe5 has a control layout called Scaledlayout, the results have been a long time. When I say this function in the Delphi Communication Group, everyone says I think more. Alas, there is no way to learn the layout of the control itself again. Really think the novice hurt ah. I didn't really care about the problem when I was in the layout of Eclipse, and I learned a mess.

Now I put the mobile screen adaptive interface design to say, as a summary of it. Hope not like me silly people don't laugh, like me as silly people to learn from.

This layout scaledlayout is not the kind of scrolling screen, the feeling is that the screen is large, the overall magnification, small screen on the overall reduction.

1. Drag a layout scaledlayout (or direct F6 search) on the screen

2. Then set the Align property of Scaledlayout to Alfit, (let scaledlayout fill the screen first).

3. Feel free to design your interface without worrying about aliasing. Because the overall position of everything on the interface will not change, but depending on the size of the phone interface, the overall zoom.

Note: The other controls you can not set the Align property, the default is OK. Another important point is. Form (that is, the one in structure), you can try to set its Fill property, there will be unexpected effect.

Because the computer equipped with Delphi can not surf the internet, so very troublesome, forgive me.

http://blog.csdn.net/syndicater/article/details/16801439

Firemonkey Mobile Screen Adaptive program problem

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.