Closed evolanakis closed 9 years ago
I can't reproduce the problem. I created a couple of tests to check this use case - and they are green:
(void)testOnPushButton { Button *button = [self newObjectWithId:@"t1" parent:nil properties:@{@"style":@[@"PUSH"]} andClient:nil ofClass:[Button class]];
button.text = @"Foo && Bar";
XCTAssertEqualObjects([button.button titleLabel].text, @"Foo & Bar"); }
Button b = new Button(parent, SWT.PUSH); b.setText("Foo && Bar"); // result: "Foo Bar", expected: "Foo & Bar"