From e7570c949034b5968505d1e16ab5063f31e3510f Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 2 Aug 2015 23:21:27 -0400 Subject: [PATCH] Added another row of buttons to main.m. Non-stretchiness doesn't quite work correctly... --- redo/osxaltest/main.m | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/redo/osxaltest/main.m b/redo/osxaltest/main.m index 14f295bb..d805cd88 100644 --- a/redo/osxaltest/main.m +++ b/redo/osxaltest/main.m @@ -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]; }