mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 13:20:47 +00:00
Fix issue fred found and add code to decode Xplacement, Yplacement and rowAlignment.
This commit is contained in:
parent
0c180978d9
commit
9bd3a460a5
1 changed files with 4 additions and 1 deletions
|
@ -416,6 +416,9 @@ static NSArray *XmlBoolDefaultYes = nil;
|
|||
@"decodeSecondAttribute:", @"NSSecondAttribute",
|
||||
@"decodeRelation:", @"NSRelation",
|
||||
@"decodeTransitionStyle:", @"NSTransitionStyle",
|
||||
@"decodeXPlacementForElement:", @"NSGrid_xPlacement",
|
||||
@"decodeYPlacementForElement:", @"NSGrid_yPlacement",
|
||||
@"decodeRowAlignmentForElement:", @"NSGrid_rowAlignment",
|
||||
nil];
|
||||
RETAIN(XmlKeyToDecoderSelectorMap);
|
||||
|
||||
|
@ -2985,7 +2988,7 @@ didStartElement: (NSString*)elementName
|
|||
|
||||
- (id) decodeRowAlignmentForElement: (GSXibElement *)element
|
||||
{
|
||||
id obj = [element attributeForKey: @"xPlacement"];
|
||||
id obj = [element attributeForKey: @"rowAlignment"];
|
||||
NSNumber *num = [NSNumber numberWithInteger: 0];
|
||||
if ([obj isEqualToString: @"inherited"])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue