thx a lot for this little gem, Per, this made my day!
Apparently simple things seem so complicated in GWT at times, awful...
Uwe
Am Freitag, 17. Dezember 2010 19:32:51 UTC+1 schrieb Per Gustås:
>
> Hi Aldo,
>
> another approach is not to use a SimplePanel at all. But rather to
> implement so
Hi Aldo,
another approach is not to use a SimplePanel at all. But rather to
implement something like a SimpleLayoutPanel yourself.
It will work fine with xxxLayout components embedded within it. (I
really think it is something Google missed to include in GWT 2.1.)
Please see below for one impleme
As John has already pointed out
Line will become
On Thu, Dec 16, 2010 at 11:02 PM, Aldo Neto wrote:
> Hi Subhro,
>
> Thanks once again.
>
> You are right...I have to set the height/width to get the content to be
> displayed. However, for some reason, I'm not being able to do that.
>
> My
I think you need to add @external gwt-TabLayoutPanelTab; to your
Thanks for your help, but for some reason my UIBinder is not binding the
panel to the style part. I'm really running out of ideas, so in case any of
you see where I'm wrong, it'll help me a lot. Otherwise I'll have to change
my design to not have tabs nested with the forms.
My ui.xml file:
http:
You have to reference the style like this:
addStyleNames='{style.mycssstyle}'
Thanks,
John LaBanca
jlaba...@google.com
On Thu, Dec 16, 2010 at 12:32 PM, Aldo Neto wrote:
> Hi Subhro,
>
> Thanks once again.
>
> You are right...I have to set the height/width to get the content to be
> displayed
Hi Subhro,
Thanks once again.
You are right...I have to set the height/width to get the content to be
displayed. However, for some reason, I'm not being able to do that.
My UIBinder is the following:
Tab 1
Test 1
Tab 2
Test 2
As you can see, I
either should work.
I set in the UIBinder xml the height and width attributes for the
TabLayoutPanel widget.
U can also use CSS. Define the height/widths in the CSS selector and then do
a addStyleNames="mycssstyle" in the uibinder XML
Also u can do the same programatically, setWidth and setHeig
Thanks for your reply.
Do you mean setting them on the TabLayoutPanel XML declaration or via CSS?
If CSS, what classes did you use to set them?
Thanks,
Aldo
On Thu, Dec 16, 2010 at 8:04 AM, Subhrajyoti Moitra
wrote:
> Try setting Width/Height of the TabLayoutPanel widget to 100%.
> I had a simi
Try setting Width/Height of the TabLayoutPanel widget to 100%.
I had a similar problem, and explicitly setting the height and width solved
it. Not sure if this would help you.
Thanks,
Subhro.
On Thu, Dec 16, 2010 at 1:12 AM, Aldo Neto wrote:
> Hi all,
>
> I need to create a TabLayoutPanel and i
Hi all,
I need to create a TabLayoutPanel and insert it as part of my editing page.
In other words, I'm filling a given form and as part of that form I need
some information to display inside the Tabs. I'm using the DockLayoutPanel
to split the screen and as part of the center I have a SimplePanel
11 matches
Mail list logo