summaryrefslogtreecommitdiff
path: root/plugingui/lineedit.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-04-19 23:00:09 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-04-19 23:00:09 +0200
commitc5527bb9155086da8b5a7cea7d9450f265fb6f6a (patch)
tree87a63078c76d5658a86896e4d78d436d99fb18ae /plugingui/lineedit.cc
parentbc4f25337e048db7d7ec86cfb116cc3768473ff5 (diff)
GUI position/size tweaks and some pixmap changes.
Diffstat (limited to 'plugingui/lineedit.cc')
-rw-r--r--plugingui/lineedit.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugingui/lineedit.cc b/plugingui/lineedit.cc
index bc61070..3e1f24b 100644
--- a/plugingui/lineedit.cc
+++ b/plugingui/lineedit.cc
@@ -148,15 +148,16 @@ void GUI::LineEdit::repaintEvent(GUI::RepaintEvent *e)
if(w == 0 || h == 0) return;
p.drawBox(0, 0, &box, w, h);
- p.setColour(GUI::Colour(1,1,1,1));
- p.drawText(BORDER - 4, height()/2+5 + 1, font, _text);
+ p.setColour(GUI::Colour(183.0/255.0, 219.0/255.0 , 255.0/255.0, 1));
+ p.drawText(BORDER - 4 + 3, height()/2+5 + 1 + 1 + 1, font, _text);
if(readOnly()) return;
if(hasKeyboardFocus()) {
size_t px = font.textWidth(_text.substr(0, pos));
- p.setColour(Colour(0.8));
- p.drawLine(px + BORDER - 1 - 4, 4, px + BORDER - 1 - 4, height() - 5);
+ //p.setColour(Colour(0.8));
+ p.drawLine(px + BORDER - 1 - 4 + 3, 6,
+ px + BORDER - 1 - 4 + 3, height() - 7);
}
}