Jump to content

Center UniPanel on a Form


Ronald

Recommended Posts

Thanks Marlon,

 

it's hard to find the I usage of the properties without any docs.

I use and ExtJs example: 

 

Form.AlignmentControl = uniAlignmentClient

Form.Layout = hbox

Form.LayoutAttribs.Align = middle

Form.LayoutAttribs.Pack = center

 

Panel.Layout = border

Link to comment
Share on other sites

  • 3 months later...
  • 1 year later...
On 9/12/2017 at 3:58 PM, Abaksoft said:

If you want a simple centering on the form,

then just set Unipanel Anchors to False :

- AkLeft = False

- AkRight = False

- AkTop= False

- AkBottom = False

 

Regards

 

Yes, this is a classical way for server side (not good).

For the future, use instead the new feature said "Layout", a client side design, wich gives a beautiful  Web responsive.

See examples :

 

And

Best Regards.

Link to comment
Share on other sites

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...