I don't know if it still relevant, but I had the same problem and I found a
solution.
I have small popup (my Class extends DialogBox).
Inside the popup, I have a VerticalPanel. Inside this panel is a ScrollPanel
and a HorizontalPanel for some buttons. Inside the ScrollPanel is a
FlexTable.
Now
I see,
I will try it - thank you all for your help.
On 6 Feb., 19:32, gregor wrote:
> Oh right...
>
> I think you've got to make sure that the whatever the ScrollPanel
> contains has actually reduced in size already - if it hasn't the
> ScrollPanel will refuse to cooperate (i.e. it won't squash
Oh right...
I think you've got to make sure that the whatever the ScrollPanel
contains has actually reduced in size already - if it hasn't the
ScrollPanel will refuse to cooperate (i.e. it won't squash it's
contents by itself). Then you need to reset it to "1px" more than the
height/width of its
well, at least replace it..
On 6 feb, 10:41, "alex.d" wrote:
> Haven't found one either. But checking height while adding elements is
> ok - have it almoust working already. Well, almoust - the problem is
> that when height or width properties are set once, you can't take it
> back. So, while pa
Haven't found one either. But checking height while adding elements is
ok - have it almoust working already. Well, almoust - the problem is
that when height or width properties are set once, you can't take it
back. So, while panel shows the desired behaviour while adding
elements, it remains "big"
>
> Is there a real browser-event or should i
> just call a check procedure whenever i add elements?
>
The latter, no browser event available AFAIK.
> > I have looked in vain for a general method to get ScrollPanels to
> > resize and generally behave by themselves. I think the reason is that
>
> there is some max-height CSS property. But dont know if it works.
Yeh i've tried it (including the "expression-trick" for IE but it
didn't work.
On 5 Feb., 17:30, gregor wrote:
> Oh, in your use case, Alex, you do have an event - adding an item to
> the panel. Just check the height after new
Oh, in your use case, Alex, you do have an event - adding an item to
the panel. Just check the height after new item added and set the
height of the ScrollPanel in pixels if max value reached I would think
answers.
I have looked in vain for a general method to get ScrollPanels to
resize and gener
there is some max-height CSS property. But dont know if it works.
On Thu, Feb 5, 2009 at 8:59 PM, alex.d wrote:
>
>
>
> On 5 Feb., 16:10, gregor wrote:
> > Hi Alex,
> >
> > I think you have to explicitly specify the height of a ScollPanel in
> > pixels to get the scroll bars to kick in, and that
On 5 Feb., 16:10, gregor wrote:
> Hi Alex,
>
> I think you have to explicitly specify the height of a ScollPanel in
> pixels to get the scroll bars to kick in, and that will set the height
> of the panel from the word go. If what you mean is that you want a
> panel to start at a minimum size, t
Hi Alex,
I think you have to explicitly specify the height of a ScollPanel in
pixels to get the scroll bars to kick in, and that will set the height
of the panel from the word go. If what you mean is that you want a
panel to start at a minimum size, then grow as things are added to it,
but then t
11 matches
Mail list logo