From c5527bb9155086da8b5a7cea7d9450f265fb6f6a Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 19 Apr 2013 23:00:09 +0200 Subject: GUI position/size tweaks and some pixmap changes. --- plugingui/lineedit.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'plugingui/lineedit.cc') 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); } } -- cgit v1.2.3