File keyboardwidget-cpp.patch of Package qvkbd

--- a/src/keyboardwidget.cpp	2022-10-01 08:03:55.608044031 +0300
+++ b/src/keyboardwidget.cpp	2022-10-01 08:04:08.344178277 +0300
@@ -41,8 +41,8 @@
 
 void KeyboardWidget::loadKeyLayout(const QString &name) {
 	m_quickWidget.setSource(name);
-	setMinimumWidth(m_quickWidget.rootObject()->width() / 2);
-	setMinimumHeight(m_quickWidget.rootObject()->height() / 2);
+	setMinimumWidth(m_quickWidget.rootObject()->width() * 3 / 4);
+	setMinimumHeight(m_quickWidget.rootObject()->height() * 3 / 4);
 	updateQuickWidgetSize();
 	updateLayout();
 }
@@ -271,7 +271,7 @@
 	m_transparentBackground = transparent;
 	m_blurBackground = blur;
 	m_x11Support.enableBlurForWidgetBackground(this, transparent && blur);
-	m_quickWidget.setClearColor(transparent ? Qt::transparent : Qt::white);
+	m_quickWidget.setClearColor(transparent ? Qt::transparent : Qt::darkGray);
 	repaint();
 }
 
openSUSE Build Service is sponsored by