From 366565264660b921e4c4401d18039fbc070f5c1e Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 16 Dec 2016 09:03:07 +0100 Subject: [PATCH] cc_frm: avoid artificially offsets Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/b46a35cdf4cef4fb01b1a10ee803bfdd1ec481bd Author: vanhofen Date: 2016-12-16 (Fri, 16 Dec 2016) Origin message was: ------------------ - cc_frm: avoid artificially offsets --- src/gui/components/cc_frm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/components/cc_frm.cpp b/src/gui/components/cc_frm.cpp index a1ae03b04..5bba0af59 100644 --- a/src/gui/components/cc_frm.cpp +++ b/src/gui/components/cc_frm.cpp @@ -375,9 +375,9 @@ void CComponentsForm::paintCCItems() //init and handle scrollbar getPageCount(); - int y_sb = this_y+1; + int y_sb = this_y; int x_sb = this_x + width - w_sb; - int h_sb = height-2; + int h_sb = height; if (sb == NULL){ sb = new CComponentsScrollBar(x_sb, y_sb, w_sb, h_sb); }else{