mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:10:38 +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
89b1a1133c
commit
4f53bd35bc
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