Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03, 4.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P3
-
Support Case References:Support Case #12989 - https://icesoft.my.salesforce.com/5007000000kxFTq
-
Affects:Compatibility/Configuration
Description
Feature Request: Have the ace:submenu tag's width set depending on the size of it's contents. This way if the contents are changed dynamically they can be resized without changing the CSS manually.
At the moment the width is set to 150px by default.
At the moment the width is set to 150px by default.
Committed fix to 4.0 trunk at revision 43578 and to 3.3 EE maintenance branch at revision 43579.
After trying different approaches, using the CSS property white-space:nowrap; worked best. There's still the issue that when using icons, they won't appear aligned with the label when the label is the widest one in a submenu, even though they are supposed to be aligned by using white-space:nowrap, this doesn't happen because of other necessary CSS involved. Anyway, all this can be fixed at the app level with custom CSS and other workarounds.