mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Use controlShadowColor when the color for NSBoxSeparator is not set. Xcode is not setting colors for these types of boxes in xibs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@39276 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
911a6c723f
commit
823354b781
1 changed files with 6 additions and 1 deletions
|
@ -3382,7 +3382,12 @@ typedef enum {
|
|||
|
||||
if (boxType == NSBoxSeparator)
|
||||
{
|
||||
[[box borderColor] set];
|
||||
color = [box borderColor];
|
||||
if (!color || [color isEqual:[NSColor clearColor]])
|
||||
{
|
||||
color = [NSColor controlShadowColor];
|
||||
}
|
||||
[color set];
|
||||
NSRectFill([box borderRect]);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue