From e58f6b3236f51c06e53c407a46d41f5e898c3b3c Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 30 Nov 2010 21:18:47 +0000 Subject: added the simple plugins from the pd-gui-rewrite/0.43/startup branch svn path=/trunk/scripts/guiplugins/simple_examples/; revision=14540 --- set_canvas_minsize-plugin.tcl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 set_canvas_minsize-plugin.tcl (limited to 'set_canvas_minsize-plugin.tcl') diff --git a/set_canvas_minsize-plugin.tcl b/set_canvas_minsize-plugin.tcl new file mode 100644 index 0000000..3b445ed --- /dev/null +++ b/set_canvas_minsize-plugin.tcl @@ -0,0 +1,8 @@ + +# set the minimum size of canvas windows, so it doesn't hide the menubar +if {$::windowingsystem ne "aqua"} { + set ::canvas_minwidth 310 + set ::canvas_minheight 45 +} + + -- cgit v1.2.1