Skip to content

Commit

Permalink
UI|Home: Avoids item height changes when navigating in Home
Browse files Browse the repository at this point in the history
Game items in Home have a minimum height of three lines of text.
  • Loading branch information
skyjake committed Oct 15, 2016
1 parent 9eb2023 commit 5e72952
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/apps/client/src/ui/home/gamepanelbuttonwidget.cpp
Expand Up @@ -160,6 +160,8 @@ DENG_GUI_PIMPL(GamePanelButtonWidget)
.setMidAnchorY(self.label().rule().midY());
packagesCounter->hide();
self.label().add(packagesCounter);
self.label().setMinimumContentHeight(style().fonts().font("default").lineSpacing() * 3 +
self.label().margins().height());

self.panel().setContent(saves);
self.panel().open();
Expand Down

0 comments on commit 5e72952

Please sign in to comment.