summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIts-Rei <kupfel@gmail.com>2021-04-24 19:47:04 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-04-24 19:47:33 +0200
commitc413cafdac2c371705d18f3f1a66e94f9aca9a8f (patch)
tree5b603ef5151ba8373acabd003a02d9c49575d4f3 /src
parentMerge pull request #6230 from Morph1984/default-resource-size (diff)
downloadyuzu-c413cafdac2c371705d18f3f1a66e94f9aca9a8f.tar
yuzu-c413cafdac2c371705d18f3f1a66e94f9aca9a8f.tar.gz
yuzu-c413cafdac2c371705d18f3f1a66e94f9aca9a8f.tar.bz2
yuzu-c413cafdac2c371705d18f3f1a66e94f9aca9a8f.tar.lz
yuzu-c413cafdac2c371705d18f3f1a66e94f9aca9a8f.tar.xz
yuzu-c413cafdac2c371705d18f3f1a66e94f9aca9a8f.tar.zst
yuzu-c413cafdac2c371705d18f3f1a66e94f9aca9a8f.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/applets/software_keyboard.cpp18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/yuzu/applets/software_keyboard.cpp b/src/yuzu/applets/software_keyboard.cpp
index fd3368479..653486493 100644
--- a/src/yuzu/applets/software_keyboard.cpp
+++ b/src/yuzu/applets/software_keyboard.cpp
@@ -1027,10 +1027,8 @@ void QtSoftwareKeyboardDialog::ChangeBottomOSKIndex() {
ui->bottomOSK->setCurrentIndex(static_cast<int>(bottom_osk_index));
ui->button_shift_shift->setStyleSheet(
- QStringLiteral("background-image: url(:/overlay/osk_button_shift_lock_off.png);"
- "\nbackground-position: left top;"
- "\nbackground-repeat: no-repeat;"
- "\nbackground-origin: content;"));
+ QStringLiteral("image: url(:/overlay/osk_button_shift_lock_off.png);"
+ "\nimage-position: left;"));
ui->button_shift_shift->setIconSize(ui->button_shift->iconSize());
ui->button_backspace_shift->setIconSize(ui->button_backspace->iconSize());
@@ -1040,10 +1038,8 @@ void QtSoftwareKeyboardDialog::ChangeBottomOSKIndex() {
caps_lock_enabled = false;
ui->button_shift_shift->setStyleSheet(
- QStringLiteral("background-image: url(:/overlay/osk_button_shift_lock_off.png);"
- "\nbackground-position: left top;"
- "\nbackground-repeat: no-repeat;"
- "\nbackground-origin: content;"));
+ QStringLiteral("image: url(:/overlay/osk_button_shift_lock_off.png);"
+ "\nimage-position: left;"));
ui->button_shift_shift->setIconSize(ui->button_shift->iconSize());
ui->button_backspace_shift->setIconSize(ui->button_backspace->iconSize());
@@ -1056,10 +1052,8 @@ void QtSoftwareKeyboardDialog::ChangeBottomOSKIndex() {
caps_lock_enabled = true;
ui->button_shift_shift->setStyleSheet(
- QStringLiteral("background-image: url(:/overlay/osk_button_shift_lock_on.png);"
- "\nbackground-position: left top;"
- "\nbackground-repeat: no-repeat;"
- "\nbackground-origin: content;"));
+ QStringLiteral("image: url(:/overlay/osk_button_shift_lock_on.png);"
+ "\nimage-position: left;"));
ui->button_shift_shift->setIconSize(ui->button_shift->iconSize());
ui->button_backspace_shift->setIconSize(ui->button_backspace->iconSize());