ist-ui-panel icon indicating copy to clipboard operation
ist-ui-panel copied to clipboard

Height

Open dwaddell opened this issue 14 years ago • 3 comments

Request to add Height since we have Width.

Dynamic content needs to be considered.

dwaddell avatar Dec 03 '10 19:12 dwaddell

Hi,

Can you describe, please, when someone should want to set height?

PS. Width is there for no really good reason either %)

idlesign avatar Jan 17 '11 13:01 idlesign

Say you want to fill a panel with some dynamic content, say some paragraph or something that could be loaded through an ajax request. You may have a specific width you want to use for layout purposes however you want the height of the panel to be the height of the text.

Or you only want the panel to be 200 pixels tall and have the dynamic content that may or may not be larger than 200 pixels. If it is larger the panel will not grow to be larger than 200 pixels but have the extra content overflow with some scrollbars. I am sure some if not all of this could be done with css but I thought I would just add the idea of including height since there is a width.

dwaddell avatar Jan 17 '11 14:01 dwaddell

Panel height already changes on content change (try central panel 4 at http://idlesign.narod.ru/ui-panel/demo.htm). Overflow with scrollbars in panels is something that make me dizzy. Need to think it over.

idlesign avatar Jan 17 '11 15:01 idlesign