[MGNLUI-2295] App Launcher: adding more then 9 apps to a group breaks the layout Created: 16/Oct/13  Updated: 17/Dec/13  Resolved: 16/Dec/13

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.1
Fix Version/s: 5.2.1

Type: Improvement Priority: Critical
Reporter: Espen Jervidalo Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2013-10-16 at 6.41.02 PM.png    
Issue Links:
dependency
is depended upon by MGNLMAIL-32 Move the "Mail tools" app back to the... Closed
relation
is related to MGNLUI-2405 Rearrange apps on the Apps screen Closed
is related to MGNLMAIL-26 Mail app: move to dev category Closed
supersession
supersedes MGNLUI-199 If a group contains many apps, some o... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

If more then 9 Apps are assigned to a group, the app icons are hidden underneath the groups on the next line. see screenshot.



 Comments   
Comment by Christopher Zimmermann [ 16/Dec/13 ]

Problem: With 9 apps - creates 2 rows already.

Recommend change to:

// Add a row to accommodate every 9 apps.
int iRows = 1 + (getChildren().size() - 1) / 9;
setProperty("height", OPEN_STATE_HEIGHT_PX * iRows);

Generated at Mon Feb 12 08:55:08 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.