Ronald Posted May 16, 2017 Share Posted May 16, 2017 I'm new to this forum and testing the evaluation version. How can I center a simple TUniPanel on a TForm? Quote Link to comment Share on other sites More sharing options...
Marlon Nardi Posted May 16, 2017 Share Posted May 16, 2017 https://store.falconsistemas.com.br/exemplos/tabsheetcenter.rar Quote Link to comment Share on other sites More sharing options...
Ronald Posted May 16, 2017 Author Share Posted May 16, 2017 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 Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted September 12, 2017 Share Posted September 12, 2017 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 1 Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted December 18, 2018 Share Posted December 18, 2018 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.