mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-21 17:10:58 +00:00
Adjust mark display for vertical rulers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21822 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7dda819713
commit
a360bbba59
2 changed files with 7 additions and 1 deletions
|
@ -753,7 +753,7 @@ static NSMutableDictionary *units = nil;
|
|||
}
|
||||
else
|
||||
{
|
||||
labelPosition.x = baselineLocation + LABEL_MARK_SIZE + 4 - size.width;
|
||||
labelPosition.x = baselineLocation + _ruleThickness - size.width;
|
||||
labelPosition.y = labelLocation + 1;
|
||||
}
|
||||
[labelString drawAtPoint: labelPosition withAttributes: attr];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue