mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- cc_frm: avoid artificially offsets
This commit is contained in:
@@ -375,9 +375,9 @@ void CComponentsForm::paintCCItems()
|
|||||||
|
|
||||||
//init and handle scrollbar
|
//init and handle scrollbar
|
||||||
getPageCount();
|
getPageCount();
|
||||||
int y_sb = this_y+1;
|
int y_sb = this_y;
|
||||||
int x_sb = this_x + width - w_sb;
|
int x_sb = this_x + width - w_sb;
|
||||||
int h_sb = height-2;
|
int h_sb = height;
|
||||||
if (sb == NULL){
|
if (sb == NULL){
|
||||||
sb = new CComponentsScrollBar(x_sb, y_sb, w_sb, h_sb);
|
sb = new CComponentsScrollBar(x_sb, y_sb, w_sb, h_sb);
|
||||||
}else{
|
}else{
|
||||||
|
Reference in New Issue
Block a user