Added another row of buttons to main.m. Non-stretchiness doesn't quite work correctly...

This commit is contained in:
Pietro Gagliardi 2015-08-02 23:21:27 -04:00
parent 0adf51118e
commit e7570c9490
1 changed files with 11 additions and 0 deletions

View File

@ -42,6 +42,17 @@ BOOL firstvert = YES;
[hbox tAddControl:button stretchy:YES];
[box tAddControl:hbox stretchy:NO];
hbox = [[tBox alloc] tInitVertical:!firstvert];
button = [[tButton alloc] tInitWithText:@"Button"];
[hbox tAddControl:button stretchy:YES];
button = [[tButton alloc] tInitWithText:@"A"];
[hbox tAddControl:button stretchy:NO];
button = [[tButton alloc] tInitWithText:@"BB"];
[hbox tAddControl:button stretchy:NO];
button = [[tButton alloc] tInitWithText:@"CCC"];
[hbox tAddControl:button stretchy:NO];
[box tAddControl:hbox stretchy:NO];
[mainwin tShow];
}