From 084d9254e368d189a21a262d5bb630bfed88413d Mon Sep 17 00:00:00 2001 From: StapleButter Date: Thu, 5 Oct 2017 02:05:23 +0200 Subject: maybe now the input dialog can stop being dumb --- src/libui_sdl/libui/unix/button.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libui_sdl/libui/unix') diff --git a/src/libui_sdl/libui/unix/button.c b/src/libui_sdl/libui/unix/button.c index 00a87f4..b0500e3 100644 --- a/src/libui_sdl/libui/unix/button.c +++ b/src/libui_sdl/libui/unix/button.c @@ -50,6 +50,8 @@ uiButton *uiNewButton(const char *text) g_signal_connect(b->widget, "clicked", G_CALLBACK(onClicked), b); uiButtonOnClicked(b, defaultOnClicked, NULL); + + gtk_widget_set_size_request(b->widget, 64, 1); return b; } -- cgit v1.2.3