Open Bug 194905 Opened 22 years ago Updated 2 years ago

XUL needs overflow handling

Categories

(Core :: XUL, defect)

Other Branch
defect

Tracking

()

People

(Reporter: kairo, Unassigned)

Details

dialog/window/page elements in XUL need some possibility to handle overflow. Especially on Dialogs, we'd need a possibility to auto-shrink/grow the whole dialog based on the XUL content. In localized versions, with different themes (or nsITheme) or even different font size settings (e.g. "big fonts" on windows), we often see issues that buttons of dialogs get cut off or text gets cut off at the right or bottom of the dialog. This should not happen, we should just grow the dialog to fit that. on page, e.g. pref dialog, we sometimes get some details cut off, where a scrollbar to handle that overflow would at least guarantee access to overflowing elements. So what I think we need is some "overflow:" CSS property with values like "auto", "scroll", "hidden", like CSS already has, but we should also add some "fit" value, which should also follow max/min-height/width properties. This would also help a bunch of themes and L10n problems...
> Especially on Dialogs, we'd need a possibility to auto-shrink/grow the whole > dialog based on the XUL content. You mean like not setting the size on the dialog, which does exactly that?
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
Assignee: hyatt → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.