> On Sept. 29, 2015, 10:32 nachm., Eike Hein wrote: > > There are some problems left I think: > > > > a) I think the delegate should be 'toolTipDelegate' (from main.qml) as used > > by MenuRepresentation's SideBarItem.qml. > > > > b) TextMetrics needs to have a font set - should be toolTipDelegate.font > > > > Then it's done!
> Then it's done! Except that Text (and with it PlasmaComponents Label) has an "elided" property which tells you if the text would be cut off. No need for a separate TextMetrics \o/ - Kai Uwe ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/125402/#review86130 ----------------------------------------------------------- On Sept. 29, 2015, 1:55 nachm., Takahiro Hashimoto wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/125402/ > ----------------------------------------------------------- > > (Updated Sept. 29, 2015, 1:55 nachm.) > > > Review request for Plasma and Eike Hein. > > > Repository: plasma-desktop > > > Description > ------- > > Now the label of app is elided on Kicker dashboard. It's good, of course. > > We sometimes want to see full text of app name, for example when the same > icon is used for some apps or a app which we see first on the dashboard. > > PlasmaCore.ToolTipArea is good solution, I think. > > > Diffs > ----- > > applets/kicker/package/contents/ui/ItemGridDelegate.qml 3de7aeb > > Diff: https://git.reviewboard.kde.org/r/125402/diff/ > > > Testing > ------- > > Build and Test on latest. > > 1. Open dashboard > 2. make mouse hover on app cell. > > ToolTip is shown and hide on click/press enter on app cell and closing > dashboard. > > > File Attachments > ---------------- > > dash_tooltip screenshot > > https://git.reviewboard.kde.org/media/uploaded/files/2015/09/26/f02936e2-a438-4ec4-9189-10e59fd84965__kickerdash_tooltip.png > > > Thanks, > > Takahiro Hashimoto > >
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel