PDA

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


jkd
03-19-2009, 08: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
03-19-2009, 08:47 AM
owwwww I will post this now :))

fother
03-19-2009, 09:39 AM
I have good news.. in minutes I will post the code

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

jkd
03-20-2009, 02:02 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 make no changes....

thanks..

jkd

jkd
03-20-2009, 02:04 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

kolli
03-20-2009, 08:05 AM
well i tested it and it did work fine for mee

fother
03-20-2009, 08:08 AM
:D

fother
03-20-2009, 08: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
03-20-2009, 08:29 AM
maybe the width for the formPanel.. makes it the button appears below

jkd
03-20-2009, 11:22 PM
i am using gxt 1.2.3 and gwt 1.5.3 version.

i have attached my code......

thanks fother....

fother
04-03-2009, 06:53 AM
for me work fine... other way.. you test with browser?

oruguntavr
04-03-2009, 06:56 AM
Hi,
How to resizable image on panel?

Priet
04-20-2009, 09: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 :(