Jump to content

Using client-side alignment for OK and Cancel


Wicket

Recommended Posts

Hi,

 

I have a 'wsMaximized' form with client alignment working great (border)

 

I then have a UniPanel at the bottom of the form with a OK and Cancel buttons - I need them to be bottom right of the form and stay there, when the form is resized - the same way VLC anchors work, how can I achieve this with clientside alignment, within a UniPanel? 

 

https://www.dropbox.com/s/fokg3xlk79nqaaw/Capture.PNG?dl=0

 

Thanks.  

Link to comment
Share on other sites

Hi,

 

One possible solution:

 

...

 

UniPanel ->

    1. Layout = hbox

    2. LayoutAttribs->

        2.1 Align = bottom

        2.2 Pack = end

        2.3 Padding = 0 10 10 0

 

OK Button (first button):

    1. LayoutConfig ->

        1.1 Margin = 0 10

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