aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/libui/unix/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libui_sdl/libui/unix/button.c')
-rw-r--r--src/libui_sdl/libui/unix/button.c2
1 files changed, 2 insertions, 0 deletions
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;
}