Re: Why "Smart Separator" doesn't work?
- From: Tao Wang <dancefire gmail com>
- To: Krzesimir Nowak <qdlacz gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Why "Smart Separator" doesn't work?
- Date: Wed, 11 Aug 2010 18:24:43 +1000
On Wed, Aug 11, 2010 at 4:57 PM, Krzesimir Nowak
<qdlacz gmail com> wrote:
> Hi,
>
> I'm using Gtk::Builder and Gtk::UIManager to create an interface.
>
> According to the document:
>
http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1UIManager.html
>
> "For separators in toolbars, you can set expand="true" to turn them from a
> small, visible separator to an expanding, invisible one. Toolitems following
> an expanding separator are effectively right-aligned."
>
> That is, if ui string is:
>
> <ui>
> <toolbar name="popup_toolbar">
> <toolitem action="">
> <toolitem action="">
> <separator expend="true"/>
> <toolitem action="">
> </toolbar>
> </ui>
>
> The <separator> will be expended and push the button "action_lock" right
> aligned.
>
> However, I didn't get the effect. The separator is still "a small, visible
> separator". The entire glade file is here:
http://pastebin.com/T0njXfJ3
>
> Could anyone tell me why the smart separator doesn't work? or is it a bug?
Try "expand" instead of "expend".
Oh.... Sorry for the typo. Yes, "expand" works.
--
Regards
Tao Wang
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]