Jump to content

Recommended Posts

Posted

Hello,

Can some one explain how to work "How to work TUniForm.AlignmentControl"

Because much(???) useful explain in help file....
Description
This is AlignmentControl, a member of class TUniForm.
 

First screenshot on designtime.

L_1 is TUniLabel.

"Header" is TUniLabel. Align := alTop; Alignment:= taCenter;

Two UniButtons on TUniSimplePanel. and Panel's Align := alBottom;

 

Here we go:

On Second screenshot (from left) TUniForm.AlignmentControl := uniAlignmentClient;

header label and buttons showing normal. But why UniLabel1 goes there ??? ıy's top is 40

 

On third Screenshot (TUniForm.AlignmentControl := uniAlignmentServer;=

UniLabel1 is now view normal, I mean where I put it on designtime. But at this time header label and buttons are not rigth place.

 

How can make design ?????

post-4508-0-00159700-1528883266_thumb.png

post-4508-0-99760300-1528883670_thumb.png

post-4508-0-99497700-1528883782_thumb.png

Posted

Continue to first message.

First screenshot from design time. Added TUniPanel and Align := alClient. Color change to yellow. And Added unilabel1 on This panel

Second screenshot on runtime

You can see yellow area (Panel) why what is that white area ? and whyPanel.Caption print to Top ???

Form.AligmentControl is uniAlignmentClient

Is this bug or what is my mistake?

regards

post-4508-0-87579700-1528885148_thumb.png

post-4508-0-78156000-1528885261_thumb.png

  • 2 weeks later...
Posted

Hello,

In 1467 space area is fixed.

 

At this time, Right and Bottom space has a problem. Fallow to screenshot.

1-) On Top component is TUniLable and Align := alTop;

2-) On Bottom. color is lime. Its TUniSimplePanel. And Align:= alBottom;

3-) In TUniSimplePanel has two TUniBitBtn. And that's align alLeft and alRight

 

 
 

 

post-4508-0-81162200-1529587016_thumb.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...