mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 07:01:22 +00:00
Cosmetic changes in drawing of column separators and horizontal scroller border.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18344 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8a2660e3e4
commit
9f9aeb843f
1 changed files with 3 additions and 2 deletions
|
@ -1598,7 +1598,7 @@ static NSTextFieldCell *titleCell;
|
||||||
{
|
{
|
||||||
_scrollerRect.origin.x = bs.width;
|
_scrollerRect.origin.x = bs.width;
|
||||||
_scrollerRect.origin.y = bs.height - 1;
|
_scrollerRect.origin.y = bs.height - 1;
|
||||||
_scrollerRect.size.width = (_frame.size.width - (2 * bs.width)) + 1;
|
_scrollerRect.size.width = (_frame.size.width - (2 * bs.width));
|
||||||
_scrollerRect.size.height = scrollerWidth;
|
_scrollerRect.size.height = scrollerWidth;
|
||||||
|
|
||||||
if (_separatesColumns)
|
if (_separatesColumns)
|
||||||
|
@ -2087,7 +2087,8 @@ static NSTextFieldCell *titleCell;
|
||||||
{
|
{
|
||||||
p1 = NSMakePoint((_columnSize.width * i) + 2 + (i-1),
|
p1 = NSMakePoint((_columnSize.width * i) + 2 + (i-1),
|
||||||
_columnSize.height + scrollerWidth + 2);
|
_columnSize.height + scrollerWidth + 2);
|
||||||
p2 = NSMakePoint((_columnSize.width * i) + 2 + (i-1), scrollerWidth + 3);
|
p2 = NSMakePoint((_columnSize.width * i) + 2 + (i-1),
|
||||||
|
scrollerWidth + 2);
|
||||||
[NSBezierPath strokeLineFromPoint: p1 toPoint: p2];
|
[NSBezierPath strokeLineFromPoint: p1 toPoint: p2];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue