Details
-
Type:
New Feature
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.8.2-EE-GA_P01
-
Fix Version/s: None
-
Component/s: ICE-Components
-
Labels:None
-
Environment:icefaces 2
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
-
Workaround Exists:Yes
-
Workaround Description:
Description
The ice:menuItem and ice:menuPopup components have an issue where menu item widths have to be hard-coded, instead of automatically resizing to their content's widths. That is, all sibling menuItem components should size to the largest width between them all.
To accomplish this, we'll have to alter the markup we render, and update all of the themes' styling. That could break any custom styling applications have made, so we'll do this in icefaces 2, and mention it in the icefaces 1.8.x -> 2 migration notes. We'll have to evaluate if any compatibility issues will make this a non-starter.
To accomplish this, we'll have to alter the markup we render, and update all of the themes' styling. That could break any custom styling applications have made, so we'll do this in icefaces 2, and mention it in the icefaces 1.8.x -> 2 migration notes. We'll have to evaluate if any compatibility issues will make this a non-starter.
To fix
ICE-5991, many of these changes have now been made. I did a test, and disabled the following style, to get the menus to do auto-resizing:.iceMnuBarSubMenu, .iceMnuBarVrtSubMenu
{ width:145px; }In fact, the top level menus have always resized, and now the sub-menus will auto-size once the hard-coded width is disabled. Probably some cosmetic padding should be added to the right hand side though.