mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-21 08:30:56 +00:00
* Source/GSTheme.m (-drawButton:view:style:state:): Call
[drawButton:withClip:] instead of [drawGreyBezel:withClip:] if state is highlighted (e.g. scroller buttons). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24388 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8abc5f845a
commit
be6dee6f99
3 changed files with 8 additions and 6 deletions
|
@ -1103,7 +1103,7 @@ typedef struct _GSButtonCellFlags
|
|||
case NSNoImage:
|
||||
imageToDisplay = nil;
|
||||
titleRect = cellFrame;
|
||||
imageRect = NSZeroRect;
|
||||
imageRect = NSZeroRect;
|
||||
if (titleSize.width + 6 <= titleRect.size.width)
|
||||
{
|
||||
titleRect.origin.x += 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue