Bug 336705

Summary: Launcher labels are not horizontally aligned
Product: [Plasma] plasmashell Reporter: Vishesh Handa <me>
Component: Application Launcher (Kickoff)Assignee: Sebastian Kügler <sebas>
Status: RESOLVED FIXED    
Severity: normal CC: bhush94, jamboarder, neptunecat34, notmart
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.2
Attachments: Kickoff

Description Vishesh Handa 2014-06-25 13:40:15 UTC
Created attachment 87394 [details]
Kickoff

The "Favorites" and "Leave" text looks completely off. The rest are also off, but by a lesser amount.
Comment 1 Marco Martin 2014-06-26 18:12:29 UTC
*** Bug 336740 has been marked as a duplicate of this bug. ***
Comment 2 Marco Martin 2014-06-26 18:15:01 UTC
the code is alright, and all goes into place as soon it gets resized (it can be tried with a kickoff inline in the desktop)
this suggests that is probably a bug in Qt
Text {
horizontalAlignment: Text.AlignHCenter
}

that doesn't always relayout

difficult to reproduce with minimal examples tough
Comment 3 Andrew Lake 2014-07-07 18:19:37 UTC
I realize this is already confirmed, but I thought it might worth mentioning that I'm experiencing this as well. Pretty much exactly as seen in the screenshot. Latest Project neon 5 daily, clean ~/.project-neon5-kde (~/.kde) dir.  Unfortunately, it's likely not a great first impression to see those alignments off on first encounter with the application launcher. 

Is there any way to force the relayout by resetting the alignment in onCompleted or some such?
Comment 4 Daniel Vrátil 2014-08-13 13:07:10 UTC
Git commit a8a6b279d366fb54398a98da977bb8fb1cc26f7d by Dan Vrátil.
Committed on 13/08/2014 at 13:06.
Pushed by dvratil into branch 'master'.

Properly align content of KickoffButtons to center

REVIEW: 119748
FIXED-IN: 5.0.2

M  +28   -22   applets/kickoff/package/contents/ui/KickoffButton.qml

http://commits.kde.org/plasma-desktop/a8a6b279d366fb54398a98da977bb8fb1cc26f7d
Comment 5 Daniel Vrátil 2014-08-13 20:03:53 UTC
Git commit d1eb286ed89a58505b22ff8a8dd6273995dcdf1c by Dan Vrátil.
Committed on 13/08/2014 at 13:06.
Pushed by dvratil into branch 'Plasma/5.0'.

Properly align content of KickoffButtons to center

REVIEW: 119748
FIXED-IN: 5.0.2

M  +28   -22   applets/kickoff/package/contents/ui/KickoffButton.qml

http://commits.kde.org/plasma-desktop/d1eb286ed89a58505b22ff8a8dd6273995dcdf1c