mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
* Source/NSTabView.m: Fix incorrect content rect now that view
is flipped. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37209 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8624e56f43
commit
74fa44060f
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-10-08 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSTabView.m: Fix incorrect content rect now that view
|
||||
is flipped.
|
||||
|
||||
2013-10-08 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/GSTheme.m (-tilesNamed:state:): Interpret .9.png files
|
||||
|
|
|
@ -409,7 +409,7 @@
|
|||
|
||||
switch (_type)
|
||||
{
|
||||
case NSTopTabsBezelBorder:
|
||||
case NSBottomTabsBezelBorder:
|
||||
cRect.origin.x += 1;
|
||||
cRect.origin.y += 1;
|
||||
cRect.size.width -= 3;
|
||||
|
@ -427,9 +427,9 @@
|
|||
cRect.size.width -= 2;
|
||||
cRect.size.height -= 2;
|
||||
break;
|
||||
case NSBottomTabsBezelBorder:
|
||||
case NSTopTabsBezelBorder:
|
||||
cRect.origin.x += 1;
|
||||
cRect.origin.y += 19;
|
||||
cRect.origin.y += 18;
|
||||
cRect.size.width -= 3;
|
||||
cRect.size.height -= 19;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue