Changeset 8348
- Timestamp:
- 30/01/12 17:47:48 (4 months ago)
- Files:
-
- 1 modified
-
branches/e4fix/EDIT4/ED4_no_class.cxx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/e4fix/EDIT4/ED4_no_class.cxx
r8345 r8348 466 466 - (rect.r - x); // minus width of visible scroll-area (== relative width of horizontal scrollbar) 467 467 468 if (max_xpos<0) max_xpos = 0; // happens when window-content is smaller than window (e.g. if ARB_EDIT4 is not filled)468 if (max_xpos<0) max_xpos = 0; // happens when window-content is smaller than window (e.g. if (folded) alignment is narrow) 469 469 return int(max_xpos+0.5); 470 470 } … … 477 477 vertical_link->calc_world_coords(&x, &y); 478 478 479 AW_pos max_ypos = vertical_link->extension.size[HEIGHT] // overall widthof virtual scrolling area480 - (rect.b - y); // minus width of visible scroll-area (== relative width of horizontal scrollbar)479 AW_pos max_ypos = vertical_link->extension.size[HEIGHT] // overall height of virtual scrolling area 480 - (rect.b - y); // minus height of visible scroll-area (== relative height of vertical scrollbar) 481 481 482 482 if (max_ypos<0) max_ypos = 0; // happens when window-content is smaller than window (e.g. if ARB_EDIT4 is not filled)
