aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/widgets/ProjectItem.cpp
AgeCommit message (Collapse)Author
2022-10-20fix: show a single line in ProjectItem's desc. when there's no more spaceflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-10-20check space requirements of project descriptionSebastian Rueth
if there isn't enough space for 2 lines of project description, only draw one Signed-off-by: Sebastian Rueth <sebastian.rueth@protonmail.com>
2022-10-19fix: properly center project descriptionsflow
In particular, this takes into account the space used by the title, so (hopefully) there won't be problems with custom themes with that. Signed-off-by: flow <flowlnlnln@gmail.com> Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: Sebastian Rüth <sebastian.rueth@protonmail.com>
2022-10-19fix text clippingSebastian Rüth
Signed-off-by: Sebastian Rüth <sebastian.rueth@protonmail.com>
2022-09-23fix: set icon sizes correctly in ProjectItemDelegateflow
no more dumb hacks with icons!! Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01feat: create delegate for project item viewsflow
This allows us to define custom painting for list view items. In particular, this is applied to the mod downloader, in order to allow displaying both the mod name and mod description, and settings their effects (like bold or underline) independent of each other. Signed-off-by: flow <flowlnlnln@gmail.com>