cc_frm: avoid artificially offsets

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

Origin message was:
------------------
- cc_frm: avoid artificially offsets

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-12-16 09:03:07 +01:00
parent 9558b979ab
commit 654df79449

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{