mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
More space around title
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5754 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b9903f4ae4
commit
708a9784ad
1 changed files with 13 additions and 13 deletions
|
@ -278,7 +278,7 @@
|
|||
if (_title_position != NSNoTitle)
|
||||
{
|
||||
NSSize titleSize = [_cell cellSize];
|
||||
titleSize.width += 1;
|
||||
titleSize.width += 6;
|
||||
if (f.size.width < titleSize.width)
|
||||
f.size.width = titleSize.width;
|
||||
}
|
||||
|
@ -436,8 +436,8 @@
|
|||
float c;
|
||||
|
||||
// Add spacer around title
|
||||
titleSize.width += 1;
|
||||
titleSize.height += 1;
|
||||
titleSize.width += 6;
|
||||
titleSize.height += 2;
|
||||
|
||||
// Adjust border rect by title cell
|
||||
_border_rect = _bounds;
|
||||
|
@ -468,8 +468,8 @@
|
|||
float c;
|
||||
|
||||
// Add spacer around title
|
||||
titleSize.width += 1;
|
||||
titleSize.height += 1;
|
||||
titleSize.width += 6;
|
||||
titleSize.height += 2;
|
||||
|
||||
// Adjust border rect by title cell
|
||||
_border_rect = _bounds;
|
||||
|
@ -502,8 +502,8 @@
|
|||
float c;
|
||||
|
||||
// Add spacer around title
|
||||
titleSize.width += 1;
|
||||
titleSize.height += 1;
|
||||
titleSize.width += 6;
|
||||
titleSize.height += 2;
|
||||
|
||||
_border_rect = _bounds;
|
||||
|
||||
|
@ -538,8 +538,8 @@
|
|||
float c;
|
||||
|
||||
// Add spacer around title
|
||||
titleSize.width += 1;
|
||||
titleSize.height += 1;
|
||||
titleSize.width += 6;
|
||||
titleSize.height += 2;
|
||||
|
||||
_border_rect = _bounds;
|
||||
|
||||
|
@ -575,8 +575,8 @@
|
|||
float c;
|
||||
|
||||
// Add spacer around title
|
||||
titleSize.width += 1;
|
||||
titleSize.height += 1;
|
||||
titleSize.width += 6;
|
||||
titleSize.height += 2;
|
||||
|
||||
// Adjust by the title
|
||||
_border_rect = _bounds;
|
||||
|
@ -607,8 +607,8 @@
|
|||
float c;
|
||||
|
||||
// Add spacer around title
|
||||
titleSize.width += 1;
|
||||
titleSize.height += 1;
|
||||
titleSize.width += 6;
|
||||
titleSize.height += 2;
|
||||
|
||||
_border_rect = _bounds;
|
||||
|
||||
|
|
Loading…
Reference in a new issue