Why do you say inline-block and not inline? Ian http://examples.roughian.com
(BTW FF2 and below doesn't support inline-block) 2009/9/9 mars1412 <[email protected]> > > upps: > inline for IE > inline-block for everything else > > On Sep 9, 6:52 pm, mars1412 <[email protected]> wrote: > > I think you'll need 'inline-block' for IE > > > > On Sep 9, 2:20 pm, Rami Alkhalyleh <[email protected]> wrote: > > > > > Thanks a lot Ian > > > > > with display=inline, it's working fine > > > > > thanks > > > > > On Wed, Sep 9, 2009 at 2:24 PM, Ian Bambury <[email protected]> > wrote: > > > > Set the VP's 'display' property to 'inline'. > > > > And maybe ask yourself if you really need VPs (tables) or whether > more > > > > flowpanels (simple divs) would do. > > > > Ian > > > > > >http://examples.roughian.com > > > > > > 2009/9/9 Rami Alkhalyleh <[email protected]> > > > > > >> Hi, > > > > > >> thanks Tamas for your reply. > > > > > >> I need to use the flow panel to control over the flow layout, which > means, > > > >> If I have many panels in the flow panel, and I removed one of them > in the > > > >> middle, the flow panel suppose to layout it again to do a shift for > those > > > >> panels that are after the removed one. > > > > > >> thanks > > > > > >> On Wed, Sep 9, 2009 at 11:31 AM, Tamás Gömbös <[email protected]> > wrote: > > > > > >>> Hi, > > > > > >>> Put a HorizontalPanel on each VerticalPanel: > > > > > >>> HorizontalPanel hp1 = new HorizontalPanel(); > > > >>> vp1.add(hp1); > > > > > >>> .... > > > > > >>> To be honest, I don't really understand GWT's layout handling but > this > > > >>> works everytime for me, when I'd like to change the size of a panel > in both > > > >>> horizontal and vertical direction. > > > > > >>> Hope this helps! > > > > > >>> 2009/9/9 Rami Alkhalyleh <[email protected]> > > > > > >>>> Hi > > > > > >>>> Actually I need to use the FlowPanel, I need to list my widgets > in a > > > >>>> flow way horizontally, the vertical panels that I'm trying to add > them to > > > >>>> the flow panel has a width also a height, but it didn't work, also > I tried > > > >>>> to put each vertical panel in a horizontal panel but I got the > same result, > > > >>>> the flow panel list them vertically, also I tried to use a simple > panel > > > >>>> instead of vertical panel then add them to the flow panel but the > flow panel > > > >>>> list them vertically. > > > > > >>>> this is a sample code: > > > > > >>>> public class MyProject implements EntryPoint { > > > > > >>>> private final FlowPanel fp = new FlowPanel(); > > > >>>> private final SimplePanel vp1 = new SimplePanel(); > > > >>>> private final SimplePanel vp2 = new SimplePanel(); > > > >>>> private final SimplePanel vp3 = new SimplePanel(); > > > > > >>>> public void onModuleLoad() { > > > > > >>>> fp.setStyleName("fpTest"); > > > >>>> vp1.setStyleName("vpTest"); > > > >>>> vp2.setStyleName("vpTest"); > > > >>>> vp3.setStyleName("vpTest"); > > > >>>> fp.setWidth("500px"); > > > >>>> fp.setHeight("500px"); > > > >>>> vp1.setWidth("74px"); > > > >>>> vp1.setHeight("80px"); > > > >>>> vp2.setWidth("74px"); > > > >>>> vp2.setHeight("80px"); > > > >>>> vp3.setWidth("74px"); > > > >>>> vp3.setHeight("80px"); > > > >>>> fp.add(vp1); > > > >>>> fp.add(vp2); > > > >>>> fp.add(vp3); > > > >>>> RootPanel.get("divId").add(fp); > > > > > >>>> } > > > >>>> } > > > > > >>>> Note: the styles 'fpTest' and 'vpTest' contains just a background > color, > > > >>>> and if you try to use a vertical panel instead of simple panel, > the same > > > >>>> result which is list them vertically. > > > > > >>>> thanks a lot > > > > > >>>> On Wed, Sep 9, 2009 at 7:18 AM, Saeed Zarinfam < > [email protected]>wrote: > > > > > >>>>> Hi > > > >>>>> You must add your vertical panel in a horizontal panel or > decrease > > > >>>>> vertical panel width. > > > > > >>>> -- > > > >>>> Best Regards > > > >>>> Rami > > > > > >> -- > > > >> Best Regards > > > >> Rami > > > > > -- > > > Best Regards > > > Rami > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
