Skip to content

Commit

Permalink
Fixed|UI|Home: Incorrect layout and initial column count
Browse files Browse the repository at this point in the history
The number of columns should be updated when the games have been
found. Also, save icons should be explicitly sized.
  • Loading branch information
skyjake committed Apr 2, 2016
1 parent 5851382 commit 2130a1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/apps/client/src/ui/home/homewidget.cpp
Expand Up @@ -213,6 +213,7 @@ DENG_GUI_PIMPL(HomeWidget)
blanker->guiDeleteLater();

updateVisibleColumnsAndTabs();
calculateColumnCount();
updateLayout();

// Restore previous state?
Expand Down
1 change: 1 addition & 0 deletions doomsday/apps/client/src/ui/home/savelistwidget.cpp
Expand Up @@ -81,6 +81,7 @@ DENG_GUI_PIMPL(SaveListWidget)

auto const &saveItem = item.as<SavedSessionListData::SaveItem>();
button.setImage(style().images().image(Game::logoImageForId(saveItem.gameId())));
button.setOverrideImageSize(style().fonts().font("default").height().value() * 1.4f);
}

void toggleSelectedItem(ButtonWidget &button)
Expand Down

0 comments on commit 2130a1e

Please sign in to comment.