cc_frm: avoid artificially offsets

Origin commit data
------------------
Commit: b46a35cdf4
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-16 (Fri, 16 Dec 2016)

Origin message was:
------------------
- cc_frm: avoid artificially offsets
This commit is contained in:
vanhofen
2016-12-16 09:03:07 +01:00
parent c0e881773a
commit 3665652646

View File

@@ -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{