mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 12:12:50 +01:00
Qt: Fix YoRHa background for some widgets
This commit is contained in:
parent
d345916241
commit
e70e534bfa
@ -80,14 +80,8 @@ QToolTip {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* CG Disasm and Trophy Manager: background-image doesn't work, use static color */
|
/* Main Window, Dialogs and some Dialogs that are actually widgets */
|
||||||
QWidget#cg_disasm, QWidget#trophy_manager {
|
QDialog, QWidget#trophy_manager, QWidget#cg_disasm, QMainWindow#main_window {
|
||||||
background: #b3ac98;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Main Window and Dialogs */
|
|
||||||
QDialog, QMainWindow#main_window {
|
|
||||||
border-image: url("GuiConfigs/YoRHa-background.jpg");
|
border-image: url("GuiConfigs/YoRHa-background.jpg");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@ cg_disasm_window::cg_disasm_window(std::shared_ptr<gui_settings> xSettings): xgu
|
|||||||
setWindowTitle(tr("Cg Disasm"));
|
setWindowTitle(tr("Cg Disasm"));
|
||||||
setObjectName("cg_disasm");
|
setObjectName("cg_disasm");
|
||||||
setAttribute(Qt::WA_DeleteOnClose);
|
setAttribute(Qt::WA_DeleteOnClose);
|
||||||
|
setAttribute(Qt::WA_StyledBackground);
|
||||||
setAcceptDrops(true);
|
setAcceptDrops(true);
|
||||||
setMinimumSize(QSize(200, 150)); // seems fine on win 10
|
setMinimumSize(QSize(200, 150)); // seems fine on win 10
|
||||||
resize(QSize(620, 395));
|
resize(QSize(620, 395));
|
||||||
|
@ -47,6 +47,7 @@ trophy_manager_dialog::trophy_manager_dialog(std::shared_ptr<gui_settings> gui_s
|
|||||||
setWindowTitle(tr("Trophy Manager"));
|
setWindowTitle(tr("Trophy Manager"));
|
||||||
setObjectName("trophy_manager");
|
setObjectName("trophy_manager");
|
||||||
setAttribute(Qt::WA_DeleteOnClose);
|
setAttribute(Qt::WA_DeleteOnClose);
|
||||||
|
setAttribute(Qt::WA_StyledBackground);
|
||||||
|
|
||||||
m_game_icon_size_index = m_gui_settings->GetValue(gui::tr_game_iconSize).toInt();
|
m_game_icon_size_index = m_gui_settings->GetValue(gui::tr_game_iconSize).toInt();
|
||||||
m_icon_height = m_gui_settings->GetValue(gui::tr_icon_height).toInt();
|
m_icon_height = m_gui_settings->GetValue(gui::tr_icon_height).toInt();
|
||||||
|
Loading…
Reference in New Issue
Block a user