Aligning ToolItem To Right in Toolbar

2013-08-26 Thread Joshua Strobl
Hello folks, I'm currently diving into developing Gtk applications with Vala (which I'm just starting to learn as well). At this moment in time, I have created a couple ToolItem(s) that are properly inserted into my Toolbar(). This Toolbar() is within a Grid() and set to expand horizontally (set

Re: Aligning ToolItem To Right in Toolbar

2013-08-27 Thread Colomban Wendling
Le 27/08/2013 08:07, Joshua Strobl a écrit : > [...] and set to expand horizontally (set_hexpand(true)). Tip: you could use the Vala-style property setter, toolbar.hexpand=true > As my Pastebin (link below) shows, the second > (exampleGlobalMenuContainer) ToolItem is left aligned, which is > comp

Re: Aligning ToolItem To Right in Toolbar

2013-08-27 Thread Joshua Strobl
On 08/27/2013 02:18 AM, Colomban Wendling wrote: > Le 27/08/2013 08:07, Joshua Strobl a écrit : >> [...] and set to expand horizontally (set_hexpand(true)). > Tip: you could use the Vala-style property setter, toolbar.hexpand=true I think at the time I was getting compile-time errors so I thought