From 52722b73c1e7abfe171db06dbadddf188e55810c Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 23 Mar 2020 23:03:35 +0900 Subject: [PATCH] [qwaq] Adjust edge window control lengths I'd forgotten them when adjusting the corner control sizes --- ruamoko/qwaq/qwaq-window.r | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ruamoko/qwaq/qwaq-window.r b/ruamoko/qwaq/qwaq-window.r index b81ddcd0b..e0f4e01a5 100644 --- a/ruamoko/qwaq/qwaq-window.r +++ b/ruamoko/qwaq/qwaq-window.r @@ -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]];