diff --git a/gtk3/main.c b/gtk3/main.c
index 2ad2f6d..17105df 100644
--- a/gtk3/main.c
+++ b/gtk3/main.c
@@ -479,6 +479,11 @@ static void activate(GApplication *app, gpointer user_data_gptr) {
create_fallback_canvas();
}
+ GdkScreen *screen = gdk_screen_get_default();
+ GtkCssProvider *provider = gtk_css_provider_new();
+ gtk_css_provider_load_from_resource(provider, RESOURCE_PREFIX "css/main.css");
+ gtk_style_context_add_provider_for_screen (screen, GTK_STYLE_PROVIDER(provider), GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
+
gtk_application_add_window(GTK_APPLICATION(app), GTK_WINDOW(main_window));
gtk_widget_show_all(GTK_WIDGET(main_window));
diff --git a/gtk3/resources/css/main.css b/gtk3/resources/css/main.css
new file mode 100644
index 0000000..dc59e7d
--- /dev/null
+++ b/gtk3/resources/css/main.css
@@ -0,0 +1,10 @@
+.vram-viewer-button-bar {
+ margin-bottom: 4px;
+}
+
+.vram-viewer-button-bar button {
+ padding: 2px 4px;
+ min-height: 11px;
+ min-width: 12px;
+ font-size: 0.8rem;
+}
\ No newline at end of file
diff --git a/gtk3/resources/ui/window.ui b/gtk3/resources/ui/window.ui
index 6363011..f207480 100644
--- a/gtk3/resources/ui/window.ui
+++ b/gtk3/resources/ui/window.ui
@@ -595,23 +595,6 @@ Maximilian Mader https://github.com/max-m
3
-
-
-
- False
- True
- 4
-
-
+
+
+
+ False
+ True
+ 4
+
+
+
False
@@ -1315,7 +1318,7 @@ Maximilian Mader https://github.com/max-m
False
- True
+ False
0
@@ -1388,10 +1391,13 @@ Maximilian Mader https://github.com/max-m
4
+
False
- True
+ False
0
diff --git a/gtk3/sameboy.gresource.xml b/gtk3/sameboy.gresource.xml
index 3afb84f..787895c 100644
--- a/gtk3/sameboy.gresource.xml
+++ b/gtk3/sameboy.gresource.xml
@@ -5,6 +5,8 @@
gtk/menus.ui
gtk/menus-common.ui
gtk/menus-traditional.ui
+
+ css/main.css
pixmaps/logo/logo_256.png
pixmaps/logo/logo_128.png