But in your case, why not simply go with a <table> (or even <div>s with a bunch of CSS)?You might also want to replace your VerticalPanels with just <div>s, <FlowPanel>s if you absolutely needs widgets, or just nothing (depending on context), and Labels with <div>s or <span>s, or even better <label>s or just nothing.
(BTW, why did you enclose your Grid into an HTMLPanel?)
Hi Thomas!
Am Samstag, 13. Juli 2013 16:17:54 UTC+2 schrieb Thomas Broyer:But in your case, why not simply go with a <table> (or even <div>s with a bunch of CSS)?You might also want to replace your VerticalPanels with just <div>s, <FlowPanel>s if you absolutely needs widgets, or just nothing (depending on context), and Labels with <div>s or <span>s, or even better <label>s or just nothing.Can you give me a minimal example?
(BTW, why did you enclose your Grid into an HTMLPanel?)I am still new to UIBinder. I just created a new UIBinder and the enclosing HTMLPanel came automatically.Maybe I am missing a UIBinder documentation...?
Source: http://www.gwtproject.org/doc/latest/DevGuideUiBinder.htmlUiBinder instances are factories that generate a UI structure and glue it to an owning Java class. The
UiBinder<U, O>interface declares two parameter types:
Uis the type of root element declared in the ui.xml file, returned by thecreateAndBindUicallOis the owner type whose@UiFields are to be filled in.
Hi Thomas,thank you!To understand it right: Why isn't it possible to declare a FlexTable in GWT Designer, with 2 rows and 3 cells? It works with Grid but it doesn't with FlexTable. GWT Designer lets me insert a FlexTable, but it won't let me put widgets into the FlexTable.
And concerning the documentation: Where can I see which attributes are available to the different widgets in XML?
For example, where can I read what is the right name for the cell tags within a FlexTable and the names of the attributes, e. g. "colspan" or "colSpan"...