From 371eed87471036c4ac4e5cf030869bdade8a7107 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 05 Aug 2021 18:29:03 -0400 Subject: tk: Support alignment of widgets in grid --- (limited to 'src/tk/radio.c') diff --git a/src/tk/radio.c b/src/tk/radio.c index 1336b60..71c9486 100644 --- a/src/tk/radio.c +++ b/src/tk/radio.c @@ -147,7 +147,8 @@ mftk_radio_new(int butn_width, int butn_padding, SDL_Color *butn_color, } va_end(ap); - r->grid = mftk_grid_new_a(options, 1, item_padding, 0, r->children); + r->grid = mftk_grid_new_a(options, 1, item_padding, 0, r->children, + NULL); if (r->grid == NULL) { for (i = 0; i < options; ++i) { mftk_widget_destroy(&r->children[i]); -- cgit v0.9.1