Start: Make the new StartPage look more like the old one
Use style sheets to give visual feedback about hovered or clicked buttons & labels
This commit is contained in:
@@ -44,6 +44,8 @@ FileCardView::FileCardView(QWidget* parent)
|
||||
setFlow(QListView::Flow::LeftToRight);
|
||||
setResizeMode(QListView::ResizeMode::Adjust);
|
||||
setUniformItemSizes(true);
|
||||
setMouseTracking(true);
|
||||
setSpacing(20);
|
||||
}
|
||||
|
||||
int FileCardView::heightForWidth(int width) const
|
||||
@@ -83,5 +85,4 @@ QSize FileCardView::sizeHint() const
|
||||
cardSize.height() + 2 * cardSpacing};
|
||||
}
|
||||
|
||||
|
||||
} // namespace StartGui
|
||||
|
||||
Reference in New Issue
Block a user