gnustep / libs-gui

The GNUstep gui library is a library of graphical user interface classes written completely in the Objective-C language; the classes are based upon Apple's Cocoa framework (which came from the OpenStep specification). *** Larger patches require copyright assignment to FSF. please file bugs here. ***
http://www.gnustep.org
GNU General Public License v3.0
279 stars 103 forks source link

Set editable property in NSCell default to false #257

Closed williameveretteggplant closed 7 months ago

williameveretteggplant commented 7 months ago

Unarchiving a NSCell element from a xib will have the editable property set to false unless explicitly set to true. This is consistent with how Apple does it. A textFieldCell element that has been set to not be editable in XCode will not have an "editable" property. And this will be interpreted by Cocoa as a non-editable text label. The previous version where cells had editable set to true by default was resulting in a bunch of text labels being editable in UI when they were not supposed to be.