[Patch] Allow toolbar to be completely detached as a window
Thomas Lübking
thomas.luebking at web.de
Mon Mar 22 17:02:59 UTC 2010
Am Monday 22 March 2010 schrieb Nikhil Marathe:
> > What's missing there is simply some form of "Collapse Button" or so,
> > which is what Bart was referring to.
>
> Well I haven't added a button since there is no icon, but I have added
> a menu entry to View and called it Mini Layout. See
> http://gitorious.org/~nikhilm/amarok/nikhilm-amarok/commits/toggle-layout
> .
> The only problem is getting the window to resize, which I haven't managed
> to do.
try *->hide(), then MainWindow::resize(m_mainToolBar->size()); // todo: check
which bar is active, maybe adjust toolbar size
More information about the Amarok
mailing list