mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 09:01:13 +00:00
* ChangeLog: Correct version number in last commit.
* Source/NSButtonCell.m (-encodeWithCoder:): Correct bug with image position in NSButtonFlags. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38526 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1ae663fc9d
commit
fec7e6ddaa
2 changed files with 8 additions and 2 deletions
|
@ -1671,7 +1671,7 @@ typedef struct _GSButtonCellFlags
|
|||
|| (_cell.image_position == NSImageOnly);
|
||||
buttonCellFlags.isHorizontal = (_cell.image_position == NSImageLeft)
|
||||
|| (_cell.image_position == NSImageRight);
|
||||
buttonCellFlags.isBottomOrLeft = (_cell.image_position == NSImageAbove)
|
||||
buttonCellFlags.isBottomOrLeft = (_cell.image_position == NSImageLeft)
|
||||
|| (_cell.image_position == NSImageBelow);
|
||||
buttonCellFlags.isImageAndText = (image != nil)
|
||||
&& (_cell.image_position != NSImageOnly);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue