mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 08:41:05 +00:00
Fix for a problem with drop down indicators overlapping text
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37448 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
364e2295e2
commit
77016b7aa0
1 changed files with 6 additions and 2 deletions
|
@ -587,11 +587,15 @@ static NSString *commandKeyString = @"#";
|
|||
|
||||
case NSImageLeft:
|
||||
cellFrame.origin.x += _imageWidth + GSCellTextImageXDist;
|
||||
cellFrame.size.width = cellFrame.size.width - (_imageWidth + GSCellTextImageXDist);
|
||||
// the below line doesn't always clip correctly (eg drop down indicator images)
|
||||
//cellFrame.size.width = cellFrame.size.width - (_imageWidth + GSCellTextImageXDist);
|
||||
cellFrame.size.width = _titleWidth;
|
||||
break;
|
||||
|
||||
case NSImageRight:
|
||||
cellFrame.size.width = cellFrame.size.width - (_imageWidth + GSCellTextImageXDist);
|
||||
// the below line doesn't always clip correctly (eg drop down indicator images)
|
||||
//cellFrame.size.width = cellFrame.size.width - (_imageWidth + GSCellTextImageXDist);
|
||||
cellFrame.size.width = _titleWidth;
|
||||
break;
|
||||
|
||||
case NSImageBelow:
|
||||
|
|
Loading…
Reference in a new issue