PDA

View Full Version : Form Textfield and Button in Same Row.



jkd
19 Mar 2009, 5:34 AM
i need a form as in the screenshot ... with the Text field and a botton aligned to the right of the textbox....

i am able to add the button to the right using a horizontalpanel ... any idea to do this in a formpanel or fieldset ???

Thanks

jkd

fother
19 Mar 2009, 5:47 AM
owwwww I will post this now :))

fother
19 Mar 2009, 6:39 AM
I have good news.. in minutes I will post the code

fother
19 Mar 2009, 7:49 AM
http://www.extjs.com/forum/showthread.php?p=305729#post305729

jkd
19 Mar 2009, 11:02 PM
Thanks a lot fother....


but i am not able to set the button to the right of the textbox.... itz beging displayed below the textfield....(see attached screenshot)

i copied the same code and make no changes....

thanks..

jkd

jkd
19 Mar 2009, 11:04 PM
Thanks a lot fother....


but i am not able to set the button to the right of the textbox.... itz beging displayed below the textfield....(see attached screenshot)

i copied the same code and made no changes....

thanks..

jkd

kolli
20 Mar 2009, 5:05 AM
well i tested it and it did work fine for mee

fother
20 Mar 2009, 5:08 AM
:D

fother
20 Mar 2009, 5:10 AM
Thanks a lot fother....


but i am not able to set the button to the right of the textbox.... itz beging displayed below the textfield....(see attached screenshot)

i copied the same code and made no changes....

thanks..

jkd

post your code example.. and you test with gxt 1.2.3 and gwt 1.5.3 version?

fother
20 Mar 2009, 5:29 AM
maybe the width for the formPanel.. makes it the button appears below

jkd
20 Mar 2009, 8:22 PM
i am using gxt 1.2.3 and gwt 1.5.3 version.

i have attached my code......

thanks fother....

fother
3 Apr 2009, 3:53 AM
for me work fine... other way.. you test with browser?

oruguntavr
3 Apr 2009, 3:56 AM
Hi,
How to resizable image on panel?

Priet
20 Apr 2009, 6:22 AM
This is great!

Is there a EXT JS port of this? I tried but I don't know how to translate is myself :(