Borderless plugin UIs
authorRobin Gareus <robin@gareus.org>
Mon, 26 Aug 2019 14:28:03 +0000 (16:28 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 26 Aug 2019 14:28:03 +0000 (16:28 +0200)
This removes a border painted in the host's UI theme color around
any plugin UI.
This results in a much nicer look/feel for plugin-UIs that have their
own theme

gtk2_ardour/plugin_ui.cc

index d0980b0df6ab55ebe1cd50e808d40a9f102b6db9..0524ebb23543a792025a876bf54253203188f167 100644 (file)
@@ -173,6 +173,7 @@ PluginUIWindow::PluginUIWindow (
                if (h > 600) h = 600;
        }
 
+       set_border_width (0);
        set_default_size (w, h);
        set_resizable (_pluginui->resizable());
 }