Guys, I think I am missing something or something wrong with SGWT.
I want the following layout:
My title: [_______________________] [ OK ]
Here I want input widget take all the possible width, so I can resize the page horizontally and "My title" with "OK" button will be on left and right sides respectively.
I've put TextItem into a dymanic form, then put dynamic form with an IButton into HLayout. Simple and a straightforward. You think it is working? No way! I've spent 2 hours banging my head in this, and still can not get it (kudos to ultra-slow Google's GWT compiler taking all my time basically).
Most interesting, when I am trying — textItem.setWidth("*"); form.setColWidth(1, "100%"); — it renders me something nearly 30% per 70% and when I resize the window to small one, text input stays no smaller than around 500px width.
I mean, it works like in a voodoo random way... :-(
Anyone can help here, please?
Yes, I saw an example of showcase for spanning (http://www.smartclient.com/docs/6.5....columnSpanning) but there are no any button near the form and form is fixed width. Anyone can make form 100% width and try to place button on the right side near the form in order button to be all the time on a right side while text input take all possible width, please?..
Thanks.
I want the following layout:
My title: [_______________________] [ OK ]
Here I want input widget take all the possible width, so I can resize the page horizontally and "My title" with "OK" button will be on left and right sides respectively.
I've put TextItem into a dymanic form, then put dynamic form with an IButton into HLayout. Simple and a straightforward. You think it is working? No way! I've spent 2 hours banging my head in this, and still can not get it (kudos to ultra-slow Google's GWT compiler taking all my time basically).
Most interesting, when I am trying — textItem.setWidth("*"); form.setColWidth(1, "100%"); — it renders me something nearly 30% per 70% and when I resize the window to small one, text input stays no smaller than around 500px width.
I mean, it works like in a voodoo random way... :-(
Anyone can help here, please?
Yes, I saw an example of showcase for spanning (http://www.smartclient.com/docs/6.5....columnSpanning) but there are no any button near the form and form is fixed width. Anyone can make form 100% width and try to place button on the right side near the form in order button to be all the time on a right side while text input take all possible width, please?..
Thanks.
Comment