On 13 avr, 23:41, denis56 <[email protected]> wrote:
> Hello,
>
> have already spent some hours trying to set column width in flextable
> to a fixed width in pixels. Could maybe someone share experiences how
> that is achievable (target browser IE 6). I tried with width attribute
> in css, but its not very responsive, especially when cells are empty.
> Doing that now through putting label with predefined fixed width, but
> that is so ugly and wasteful.

You should "just" have to ensure your CSS for the table has "table-
layout: fixed" (hint: it'll also speed up the rendering of the table,
explicitly telling the browser to not account for the cells' content
width)
I don't think I had a problem with empty cells, but I'm not even sure
I ever had to deal with empty cells...

> And one more thing. I have a HorizontalPanel in one of the flextable
> cells with 3 labels inside, is there a way to apply "overflow:hidden"
> on the last widget? Right now it is being wrapped to the next line,
> although overflow: hidden is set.

Hmm, it probably depends on the size (intrinsic or explicit) of the
HorizontalPanel, if you set the width of the HorizontalPanel with an
absolute unit (pixels, for example), you should IMO put
overflow:hidden on the flextable's cell, *not* the HorizontalPanel's
last cell.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to