Re: [Synfig-devl] Yu Chen : Add extra sapce between diff button groups for a more clear UI layout
2012/1/28 r...@synfig.org: Author: Yu Chen jco...@gmail.com Date: Thu Jan 26 09:52:30 2012 +0800 Add extra sapce between diff button groups for a more clear UI layout --- synfig-studio/src/gui/canvasview.cpp | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/synfig-studio/src/gui/canvasview.cpp b/synfig-studio/src/gui/canvasview.cpp index 4dd81a8..fceb7be 100644 --- a/synfig-studio/src/gui/canvasview.cpp +++ b/synfig-studio/src/gui/canvasview.cpp @@ -1267,18 +1267,18 @@ CanvasView::create_display_bar() displaybar-attach(*toggleducksdial, 0, 1, 0, 1, Gtk::SHRINK, Gtk::SHRINK); - displaybar-attach(*separator1, 1, 2, 0, 1, Gtk::FILL, Gtk::FILL); + displaybar-attach(*separator1, 1, 2, 0, 1, Gtk::FILL, Gtk::FILL, 8); displaybar-attach(*resolutiondial, 2, 3, 0, 1, Gtk::SHRINK, Gtk::SHRINK); - displaybar-attach(*separator2, 3, 4, 0, 1, Gtk::FILL, Gtk::FILL); + displaybar-attach(*separator2, 3, 4, 0, 1, Gtk::FILL, Gtk::FILL, 8); displaybar-attach(*quality_spin, 4, 5, 0, 1, Gtk::SHRINK, Gtk::SHRINK); - displaybar-attach(*separator3, 5, 6, 0, 1, Gtk::FILL, Gtk::FILL); + displaybar-attach(*separator3, 5, 6, 0, 1, Gtk::FILL, Gtk::FILL, 8); displaybar-attach(*show_grid, 6, 7, 0, 1, Gtk::SHRINK, Gtk::SHRINK); displaybar-attach(*snap_grid, 7, 8, 0, 1, Gtk::SHRINK, Gtk::SHRINK); - displaybar-attach(*separator4, 8, 9, 0, 1, Gtk::FILL, Gtk::FILL); + displaybar-attach(*separator4, 8, 9, 0, 1, Gtk::FILL, Gtk::FILL, 8); displaybar-attach(*past_onion_spin, 9, 10, 0, 1, Gtk::SHRINK, Gtk::SHRINK); displaybar-attach(*onion_skin, 10, 11, 0, 1, Gtk::SHRINK, Gtk::SHRINK); displaybar-attach(*future_onion_spin, 11, 12, 0, 1, Gtk::SHRINK, Gtk::SHRINK); - displaybar-attach(*separator5, 12, 13, 0, 1, Gtk::FILL, Gtk::FILL); + displaybar-attach(*separator5, 12, 13, 0, 1, Gtk::FILL, Gtk::FILL, 8); displaybar-attach(*render_options_button, 13, 14, 0, 1, Gtk::SHRINK, Gtk::SHRINK); displaybar-attach(*preview_options_button, 14, 15, 0, 1, Gtk::SHRINK, Gtk::SHRINK); Hi, Yu! This commit worries me, because it makes the top toolbar even wider. That prevents the user from resizing canvas window to smaller size. To workaround the issue it is possible to replace Gtk::HBox with Gtk::Toolbar widget (it allows cropping for button layout). The best solution (but requiring more work) is to move toolbar from canvas window to the Toolbox window. What do you think on that? K. -- http://morevnaproject.org/ -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl
Re: [Synfig-devl] Yu Chen : Add extra sapce between diff button groups for a more clear UI layout
This commit worries me, because it makes the top toolbar even wider. That prevents the user from resizing canvas window to smaller size. I intended to fix a first sight of a new Synfig Studio user when he takes a look at the buttons of canvas window: they are staying one by one and are difficult to distinguish even there are some vertical separators to separate them into several groups. Its my fault, I assumed the minimal width of canvas window is 600, due to my lack of serious experimentation with Synfig Studio. :( In your professional point of view, what the minimal canvas window size should we setup? To workaround the issue it is possible to replace Gtk::HBox with Gtk::Toolbar widget (it allows cropping for button layout). The best solution (but requiring more work) is to move toolbar from canvas window to the Toolbox window. What do you think on that? Let me try the quick way first (replacing HBox with Toolbar). I am not sure if merging toolbar to toolbox is a reasonable solution since toolbox is a bit overloaded nowadays. Thanks for the input, this is really important point we should take into account while redesigning Synfig Studio UI. K. -- http://morevnaproject.org/ -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl
[Synfig-devl] Yu Chen : Add extra sapce between diff button groups for a more clear UI layout
Author: Yu Chen jco...@gmail.com Date: Thu Jan 26 09:52:30 2012 +0800 Add extra sapce between diff button groups for a more clear UI layout --- synfig-studio/src/gui/canvasview.cpp | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/synfig-studio/src/gui/canvasview.cpp b/synfig-studio/src/gui/canvasview.cpp index 4dd81a8..fceb7be 100644 --- a/synfig-studio/src/gui/canvasview.cpp +++ b/synfig-studio/src/gui/canvasview.cpp @@ -1267,18 +1267,18 @@ CanvasView::create_display_bar() displaybar-attach(*toggleducksdial, 0, 1, 0, 1, Gtk::SHRINK, Gtk::SHRINK); - displaybar-attach(*separator1, 1, 2, 0, 1, Gtk::FILL, Gtk::FILL); + displaybar-attach(*separator1, 1, 2, 0, 1, Gtk::FILL, Gtk::FILL, 8); displaybar-attach(*resolutiondial, 2, 3, 0, 1, Gtk::SHRINK, Gtk::SHRINK); - displaybar-attach(*separator2, 3, 4, 0, 1, Gtk::FILL, Gtk::FILL); + displaybar-attach(*separator2, 3, 4, 0, 1, Gtk::FILL, Gtk::FILL, 8); displaybar-attach(*quality_spin, 4, 5, 0, 1, Gtk::SHRINK, Gtk::SHRINK); - displaybar-attach(*separator3, 5, 6, 0, 1, Gtk::FILL, Gtk::FILL); + displaybar-attach(*separator3, 5, 6, 0, 1, Gtk::FILL, Gtk::FILL, 8); displaybar-attach(*show_grid, 6, 7, 0, 1, Gtk::SHRINK, Gtk::SHRINK); displaybar-attach(*snap_grid, 7, 8, 0, 1, Gtk::SHRINK, Gtk::SHRINK); - displaybar-attach(*separator4, 8, 9, 0, 1, Gtk::FILL, Gtk::FILL); + displaybar-attach(*separator4, 8, 9, 0, 1, Gtk::FILL, Gtk::FILL, 8); displaybar-attach(*past_onion_spin, 9, 10, 0, 1, Gtk::SHRINK, Gtk::SHRINK); displaybar-attach(*onion_skin, 10, 11, 0, 1, Gtk::SHRINK, Gtk::SHRINK); displaybar-attach(*future_onion_spin, 11, 12, 0, 1, Gtk::SHRINK, Gtk::SHRINK); - displaybar-attach(*separator5, 12, 13, 0, 1, Gtk::FILL, Gtk::FILL); + displaybar-attach(*separator5, 12, 13, 0, 1, Gtk::FILL, Gtk::FILL, 8); displaybar-attach(*render_options_button, 13, 14, 0, 1, Gtk::SHRINK, Gtk::SHRINK); displaybar-attach(*preview_options_button, 14, 15, 0, 1, Gtk::SHRINK, Gtk::SHRINK); -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl