mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
* Source/NSParagraphStyle.m (-description): Add method.
Based on patch by Marcian Lytwyn <gna@advcsi.com>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38239 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6fc06cce3d
commit
2c4e998af6
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-12-08 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSParagraphStyle.m (-description): Add method.
|
||||
Based on patch by Marcian Lytwyn <gna@advcsi.com>.
|
||||
|
||||
2014-12-08 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSLayoutManager.m
|
||||
|
|
|
@ -308,6 +308,14 @@ static NSParagraphStyle *defaultStyle = nil;
|
|||
return self;
|
||||
}
|
||||
|
||||
- (NSString *)description
|
||||
{
|
||||
return [NSString stringWithFormat:
|
||||
@"%@ Alignment: %ld LineSpacing: %f ParagraphSpacing: %f LineBreakMode: %ld",
|
||||
[super description], (long)_alignment, (float)_lineSpacing,
|
||||
(float)_paragraphSpacing, (long)_lineBreakMode];
|
||||
}
|
||||
|
||||
/*
|
||||
* "Leading": distance between the bottom of one line fragment and top
|
||||
* of next (applied between lines in the same container).
|
||||
|
|
Loading…
Reference in a new issue