Hi Joe! Thanks for your answer, I have some questions you might be able to answer.
1. Is there any link to this HTML widget Implementation, I have looked but I cannot find it. 2. Could there be a possibility to create site templates that consist of DIVs instead, and manipulate the Content of these templates from the java code? Or is your idea in your opinion better? 3. So if I have understood correctly I should, were I today use the HTML class use the Div class in GWT? Regards Joakim -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Joe Cole Sent: Tuesday, March 03, 2009 10:03 AM To: Google Web Toolkit Subject: Re: Div in GWT? We ended up creating our own classes for more "html-like" widgets. Div (see the HTML widget implementation to get started, it's actually a div), Span, OL/UL, Heading etc and combinations as needed. I do believe it is the best approach for styling. If you understand html and css you can work around the quirks easily. It's also really easy to do it in gwt. Even though our Div class is pretty much identical to the gwt HTML class, we think in Div/Span etc so it fits our workflow better to use this. The major thing I still delegate to horizontalpanels for is a row of components with vertical alignment set to middle (e.g. image-text alignment issues, multiple image alignment etc). I use our widgets for pretty much every other part of layout. Joe On Mar 3, 9:20 pm, Joakim Sjöberg <joakim.sjob...@artificial- solutions.com> wrote: > Hi! After some research I have realized that panels are always used J But > there is different kinds of panels and some uses TABLES and some uses DIVs am > I right about this? > > We want to make our application more independent from the layout so that we > can make different layouts for different costumers. What is the best way to > achieve this? > Should we start using DIV panels instead? And much more use CSS to control > the graphics? Is there anyone who has any input in this matter I would be > very very happy J > > Regards > > Joakim Sjöberg > > From: [email protected] > [mailto:[email protected]] On Behalf Of Joakim Sjöberg > Sent: Monday, March 02, 2009 8:43 AM > To: [email protected] > Subject: Div in GWT? > > Hi! > > We have created an application that uses standard html and panels. I wonder > if there is any good way to used DIVs instead of panels? > > Is there anyone who have done this that could give me some advice? Any > special way to do it? > > Joakim Sjöberg > > Technical Consultant > > Artificial Solutions Scandinavia AB --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
