mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
GUI: minor figgcess (#3010)
* emulator tab: minor layout adjustment * tool bar: adjust size dynamically for hidpi * gamelist tool bar: adjust size dynamically for hidpi * gamelist search bar: adjust style * move game_list.h into rpcs3qt * hide game data by default
This commit is contained in:
parent
9c547d5eef
commit
035a39a9a8
8 changed files with 128 additions and 87 deletions
|
@ -113,6 +113,9 @@ game_list_frame::game_list_frame(std::shared_ptr<gui_settings> settings, const R
|
|||
// Search Bar
|
||||
m_Search_Bar = new QLineEdit(m_Tool_Bar);
|
||||
m_Search_Bar->setPlaceholderText(tr("Search games ..."));
|
||||
m_Search_Bar->setMinimumWidth(m_Tool_Bar->height() * 5);
|
||||
m_Search_Bar->setFrame(false);
|
||||
m_Search_Bar->setStyleSheet("background:transparent;");
|
||||
connect(m_Search_Bar, &QLineEdit::textChanged, [this](const QString& text) {
|
||||
m_searchText = text;
|
||||
Refresh();
|
||||
|
@ -122,7 +125,7 @@ game_list_frame::game_list_frame(std::shared_ptr<gui_settings> settings, const R
|
|||
m_Slider_Size = new QSlider(Qt::Horizontal , m_Tool_Bar);
|
||||
m_Slider_Size->setRange(0, GUI::gl_icon_size.size() - 1);
|
||||
m_Slider_Size->setSliderPosition(icon_size_index);
|
||||
m_Slider_Size->setFixedWidth(100);
|
||||
m_Slider_Size->setFixedWidth(m_Tool_Bar->height() * 3);
|
||||
|
||||
m_Tool_Bar->addWidget(m_Search_Bar);
|
||||
m_Tool_Bar->addWidget(new QLabel(" "));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue