I tried all this but i think you misunderstand me , i was referring
the window size not the text area inside it.
this is what i have digg from the source code
public void setVisible_(boolean visible) {
super.setVisible(visible);
if (visible) {
scrollPanel.checkMinSize();
resize(Window.getClientWidth(), Window.getClientHeight());
}
}
seems like it always use the whole window size. (i know that later it
is multiple by 0.8)
Shlomi
\
On Dec 13, 10:36 pm, Eugen P <[email protected]> wrote:
> Bind style to your div and provide the size for the it via css.
>
> .myloggerdiv{
> display:table;
> width:50px;
>
> }
>
> On 12/13/10, shlomico <[email protected]> wrote:
>
>
>
> > Hi
>
> > I'm using the DivLogger along with GXT and i have a toolbar button to
> > toggle the div on/off which works well.
> > problem is i wasn't able to control the size of it in any case. i
> > tried to following.
> > 1. add the div to the RootPanel (does not show at all)
> > 2. setSize in string which represent pixels
> > 3. setPixelSize in integers.
> > 4. setSize in string with relative values ("50%")
>
> > what am i missing here ?
>
> > thanks
>
> > Shlomi
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "gwt-log" 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/gwt-log?hl=en.- Hide quoted text -
>
> - Show quoted text -
--
You received this message because you are subscribed to the Google Groups
"gwt-log" 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/gwt-log?hl=en.