Wednesday, February 20, 2013

Re: Space between widgets in FlowPanel ?

Here is a part of my code... 

FlowPanel txtBoxes = new FlowPanel();
txtBoxes.setWidth("100px");

final TextBox name = new TextBox();
name.setVisibleLength(30);
txtBoxes.add(name);
name.setSize("200px", "10px");
final TextBox media = new TextBox();
media.setVisibleLength(30);
txtBoxes.add(media);
media.setSize("200px", "10px");

final TextBox height = new TextBox();
height.setDirectionEstimator(false);
height.setVisibleLength(30);
txtBoxes.add(height);
height.setSize("200px", "10px");

final TextBox width = new TextBox();
width.setVisibleLength(30);
txtBoxes.add(width);
width.setSize("200px", "10px");

On Wed, Feb 20, 2013 at 12:09 PM, Andy Stevko <andy.stevko@gmail.com> wrote:
Do you have a uibinder fragment that shows the widgets you are using?



On Wed, Feb 20, 2013 at 11:05 AM, Kristian Lind <klindp@gmail.com> wrote:
And how.. I tried diff ways, nothing works.. do you have an example


On Wed, Feb 20, 2013 at 11:03 AM, Andy Stevko <andy.stevko@gmail.com> wrote:
padding the style?


On Wed, Feb 20, 2013 at 10:44 AM, Kris <klindp@gmail.com> wrote:
Hi, How can I get spaces between widgets in FlowPanel ? I have google a while now, but couldn't find any solution, and can see a lot of other people have the same problem. 
I have a FlowPanel with text boxes.. and all are right on top of each other. 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
-- A. Stevko
===========
"If everything seems under control, you're just not going fast enough." M. Andretti




--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Best regards

Kristian Lind

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
-- A. Stevko
===========
"If everything seems under control, you're just not going fast enough." M. Andretti




--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Best regards

Kristian Lind

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment