mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
[qwaq] Adjust edge window control lengths
I'd forgotten them when adjusting the corner control sizes
This commit is contained in:
parent
622b5f4c45
commit
52722b73c1
1 changed files with 8 additions and 8 deletions
|
@ -30,22 +30,22 @@
|
|||
|
||||
[self addView: [[TitleBar alloc] initWithTitle:"drag me"]];
|
||||
|
||||
topDrag = [[Button alloc] initWithRect: {{1, 0},
|
||||
{xlen - 2, 1}}];
|
||||
topDrag = [[Button alloc] initWithRect: {{2, 0},
|
||||
{xlen - 4, 1}}];
|
||||
topLeftDrag = [[Button alloc] initWithRect: {{0, 0},
|
||||
{2, 2}}];
|
||||
topRightDrag = [[Button alloc] initWithRect: {{xlen - 2, 0},
|
||||
{2, 2}}];
|
||||
leftDrag = [[Button alloc] initWithRect: {{0, 1},
|
||||
{1, ylen - 2}}];
|
||||
rightDrag = [[Button alloc] initWithRect: {{xlen - 1, 1},
|
||||
{1, ylen - 2}}];
|
||||
leftDrag = [[Button alloc] initWithRect: {{0, 2},
|
||||
{1, ylen - 4}}];
|
||||
rightDrag = [[Button alloc] initWithRect: {{xlen - 1, 2},
|
||||
{1, ylen - 4}}];
|
||||
bottomLeftDrag = [[Button alloc] initWithRect: {{0, ylen - 2},
|
||||
{2, 2}}];
|
||||
bottomRightDrag = [[Button alloc] initWithRect: {{xlen - 2, ylen - 2},
|
||||
{2, 2}}];
|
||||
bottomDrag = [[Button alloc] initWithRect: {{1, ylen - 1},
|
||||
{xlen - 2, 1}}];
|
||||
bottomDrag = [[Button alloc] initWithRect: {{2, ylen - 1},
|
||||
{xlen - 4, 1}}];
|
||||
[self addView: [topDrag setGrowMode: gfGrowHiX]];
|
||||
[self addView: [topLeftDrag setGrowMode: gfGrowNone]];
|
||||
[self addView: [topRightDrag setGrowMode: gfGrowX]];
|
||||
|
|
Loading…
Reference in a new issue