[desktop] fix controls dialog text clipping
All checks were successful
eden-license / license-header (pull_request) Successful in 31s
All checks were successful
eden-license / license-header (pull_request) Successful in 31s
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
44d658bbc5
commit
07c87324f2
5 changed files with 84 additions and 5 deletions
|
@ -579,8 +579,8 @@ else()
|
||||||
find_package(lz4 REQUIRED)
|
find_package(lz4 REQUIRED)
|
||||||
find_package(RenderDoc MODULE)
|
find_package(RenderDoc MODULE)
|
||||||
find_package(stb MODULE)
|
find_package(stb MODULE)
|
||||||
find_package(enet 1.3 MODULE)
|
find_package(enet 1.3 MODULE REQUIRED)
|
||||||
find_package(Opus 1.3 MODULE)
|
find_package(Opus 1.3 MODULE REQUIRED)
|
||||||
find_package(ZLIB 1.2 REQUIRED)
|
find_package(ZLIB 1.2 REQUIRED)
|
||||||
find_package(zstd 1.5 REQUIRED)
|
find_package(zstd 1.5 REQUIRED)
|
||||||
|
|
||||||
|
|
54
dist/qt_themes/default/style.qss
vendored
54
dist/qt_themes/default/style.qss
vendored
|
@ -95,6 +95,60 @@ QPushButton#button_reset_defaults {
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* QGroupBox --------------------------------------------------------------
|
||||||
|
|
||||||
|
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------- */
|
||||||
|
QGroupBox {
|
||||||
|
border: 1px solid #32414B;
|
||||||
|
border-radius: 4px;
|
||||||
|
margin-top: 20px;
|
||||||
|
padding: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QGroupBox::title {
|
||||||
|
subcontrol-origin: margin;
|
||||||
|
subcontrol-position: top left;
|
||||||
|
padding-left: 3px;
|
||||||
|
padding-right: 5px;
|
||||||
|
padding-top: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QGroupBox::indicator {
|
||||||
|
margin-left: 2px;
|
||||||
|
height: 16px;
|
||||||
|
width: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QGroupBox::indicator:unchecked {
|
||||||
|
border: none;
|
||||||
|
image: url(":/qss_icons/rc/checkbox_unchecked.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
QGroupBox::indicator:unchecked:hover, QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:pressed {
|
||||||
|
border: none;
|
||||||
|
image: url(":/qss_icons/rc/checkbox_unchecked_focus.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
QGroupBox::indicator:unchecked:disabled {
|
||||||
|
image: url(":/qss_icons/rc/checkbox_unchecked_disabled.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
QGroupBox::indicator:checked {
|
||||||
|
border: none;
|
||||||
|
image: url(":/qss_icons/rc/checkbox_checked.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
QGroupBox::indicator:checked:hover, QGroupBox::indicator:checked:focus, QGroupBox::indicator:checked:pressed {
|
||||||
|
border: none;
|
||||||
|
image: url(":/qss_icons/rc/checkbox_checked_focus.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
QGroupBox::indicator:checked:disabled {
|
||||||
|
image: url(":/qss_icons/rc/checkbox_checked_disabled.png");
|
||||||
|
}
|
||||||
|
|
||||||
QWidget#bottomPerGameInput,
|
QWidget#bottomPerGameInput,
|
||||||
QWidget#topControllerApplet,
|
QWidget#topControllerApplet,
|
||||||
QWidget#bottomControllerApplet,
|
QWidget#bottomControllerApplet,
|
||||||
|
|
26
dist/qt_themes/default_dark/style.qss
vendored
26
dist/qt_themes/default_dark/style.qss
vendored
|
@ -697,3 +697,29 @@ QDialog#QtSoftwareKeyboardDialog QPushButton#button_space:disabled,
|
||||||
QDialog#QtSoftwareKeyboardDialog QPushButton#button_space_shift:disabled {
|
QDialog#QtSoftwareKeyboardDialog QPushButton#button_space_shift:disabled {
|
||||||
image: url(:/overlay/osk_button_Y_disabled.png);
|
image: url(:/overlay/osk_button_Y_disabled.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* QGroupBox --------------------------------------------------------------
|
||||||
|
|
||||||
|
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------- */
|
||||||
|
QGroupBox {
|
||||||
|
border: 1px solid #32414B;
|
||||||
|
border-radius: 4px;
|
||||||
|
margin-top: 22px;
|
||||||
|
padding: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QGroupBox::title {
|
||||||
|
subcontrol-origin: margin;
|
||||||
|
subcontrol-position: top left;
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 10px;
|
||||||
|
padding-top: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QGroupBox::indicator {
|
||||||
|
margin-left: 2px;
|
||||||
|
height: 16px;
|
||||||
|
width: 16px;
|
||||||
|
}
|
||||||
|
|
2
dist/qt_themes/qdarkstyle/style.qss
vendored
2
dist/qt_themes/qdarkstyle/style.qss
vendored
|
@ -307,7 +307,7 @@ QAbstractItemView QLineEdit {
|
||||||
QGroupBox {
|
QGroupBox {
|
||||||
border: 1px solid #54575B;
|
border: 1px solid #54575B;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
margin-top: 12px;
|
margin-top: 20px;
|
||||||
padding-top: 2px;
|
padding-top: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -235,10 +235,9 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
|
||||||
|
|
||||||
--------------------------------------------------------------------------- */
|
--------------------------------------------------------------------------- */
|
||||||
QGroupBox {
|
QGroupBox {
|
||||||
font-weight: bold;
|
|
||||||
border: 1px solid #32414B;
|
border: 1px solid #32414B;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
margin-top: 12px;
|
margin-top: 20px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue