summaryrefslogtreecommitdiff
path: root/inputmethods/multikey
Side-by-side diff
Diffstat (limited to 'inputmethods/multikey') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/multikey/keyboard.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/inputmethods/multikey/keyboard.cpp b/inputmethods/multikey/keyboard.cpp
index 89937cf..e3d3928 100644
--- a/inputmethods/multikey/keyboard.cpp
+++ b/inputmethods/multikey/keyboard.cpp
@@ -233,2 +233,3 @@ void Keyboard::drawKeyboard(QPainter &p, int row, int col)
+ p.setPen(textcolor);
if (!pix) {
@@ -240,3 +241,3 @@ void Keyboard::drawKeyboard(QPainter &p, int row, int col)
p.drawText(x, y,
- defaultKeyWidth * keyWidth + 3, keyHeight,
+ keyWidthPix + 3, keyHeight,
AlignCenter, (QChar)c);
@@ -258,2 +259,3 @@ void Keyboard::drawKeyboard(QPainter &p, int row, int col)
}
+ p.setPen(keycolor_lines);
p.drawLine(0, height() - 1, width(), height() - 1);