More TODOs.

This commit is contained in:
Pietro Gagliardi 2015-08-03 13:57:01 -04:00
parent fcf562d264
commit 0e851d6c0e
2 changed files with 2 additions and 0 deletions

View File

@ -136,6 +136,7 @@
// TODO do not release constraint; it's autoreleased? // TODO do not release constraint; it's autoreleased?
// next make the views span the full other dimension // next make the views span the full other dimension
// TODO make all of these the same width/height
for (i = 0; i < n; i++) { for (i = 0; i < n; i++) {
if (self->vertical) if (self->vertical)
constraint = [NSMutableString stringWithString:@"H:|["]; constraint = [NSMutableString stringWithString:@"H:|["];

View File

@ -44,6 +44,7 @@ BOOL firstvert = NO;
[hbox tAddControl:button stretchy:YES]; [hbox tAddControl:button stretchy:YES];
[box tAddControl:hbox stretchy:NO]; [box tAddControl:hbox stretchy:NO];
// TODO in vertical mode the three non-stretchy buttons are smaller than they should be
hbox = [[tBox alloc] tInitVertical:!firstvert spaced:spaced]; hbox = [[tBox alloc] tInitVertical:!firstvert spaced:spaced];
button = [[tButton alloc] tInitWithText:@"Button"]; button = [[tButton alloc] tInitWithText:@"Button"];
[hbox tAddControl:button stretchy:YES]; [hbox tAddControl:button stretchy:YES];