From 7d71222297b1b7ebe8ecae1e21a7c2612185ed39 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 16 May 2013 08:08:03 +0200 Subject: Remove test framework. TODO: Replace it with a new one at some point... --- plugingui/Makefile.am | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'plugingui') diff --git a/plugingui/Makefile.am b/plugingui/Makefile.am index e705b3b..aee2de6 100644 --- a/plugingui/Makefile.am +++ b/plugingui/Makefile.am @@ -51,14 +51,3 @@ EXTRA_DIST = \ verticalline.h \ widget.h \ window.h - -################ -# Test Section # -################ - -TEST_SOURCE_DEPS = ${EXTRA_DIST} -TEST_SCRIPT_DIR = $(top_srcdir)/tools - -include ${TEST_SCRIPT_DIR}/Makefile.am.test - -include Makefile.am.test -- cgit v1.2.3 From 1dcb87f400b36f773942562db901e134d14ef8ed Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 16 May 2013 10:43:56 +0200 Subject: Fix lineedit mouseclick to the right of the text, which should position text cursor to the right of the text. --- plugingui/lineedit.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'plugingui') diff --git a/plugingui/lineedit.cc b/plugingui/lineedit.cc index 9308902..16c6dda 100644 --- a/plugingui/lineedit.cc +++ b/plugingui/lineedit.cc @@ -94,6 +94,7 @@ void GUI::LineEdit::buttonEvent(ButtonEvent *e) break; } } + if(e->x >= (int)(font.textWidth(_text) + BORDER)) pos = _text.length(); repaintEvent(NULL); } } -- cgit v1.2.3