Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Constraints, autosize and alignment in FMX



Permlink Replies: 0
Jean-Milost Rey...

Posts: 23
Registered: 11/8/11
Constraints, autosize and alignment in FMX
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 18, 2015 9:33 AM
Hello,

I'm testing FMX in order to use it in some commercial applications. I tried to recreate a VCL interface that I made some time ago, but I noticed some strong and constraining limitations compared to the VCL interface:
1. I must limit a client aligned panel to a maximum width (640 pixels). I noticed that the VCL Constraints property disappeared, and I found nothing to replace it. Is there a way to do that in FMX, or constraints are no longer supported?
2. I must resize a left and top anchored panel to bound the children it contains. These children are added in runtime and can vary in size and in numbers. I noticed that the VCL AutoSize property disappeared, and I found nothing to replace it. Is there a way to do that in FMX, or autosize is no longer supported?
3. Custom alignment disappeared from Align property choices. I need it to perform some special alignments that the Align property doesn't take care of. How can I configure and use a custom alignment in FMX?

I'm using Embarcadero® RAD Studio XE7 Version 21.0.17017.3725

Regards

Edited by: Jean-Milost Reymond on Feb 18, 2015 9:33 AM
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02