Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Auto determining height on an HTMLPane

    I have a widget that consists of an HTMLPane and a ListGrid, enclosed by a VLayout. I'd like both components to lay themselves out vertically based on the amount of content (width is 100%). The ListGrid does what I'm looking for: its height is determined by the number of rows it has. Is there a way to do this using an HTMLPane or other suitable component? I'd like the height of my pane of html content to be automatically determined based on its content, which at this point is a list of div-enclosed text which wraps at the end of each line.

    Thanks for your help.

    #2
    ... figured it out: use HTMLFlow instead of HTMLPane. Works like a champ.

    Comment

    Working...
    X