Bennett Helm wrote:
On Mar 13, 2007, at 9:13 AM, Abdelrazak Younes wrote:
Concerning the new toc widget, does qt/mac make it a drawer (is that
the term?) already, or shall we do it?
A drawer would be nice -- if it does not change the size of the
editing window. Right now, viewing the TOC requires adjusting the
size of the window, which makes it a pain.
What do you mean here? If you don't like the docking status you can
still detach it by dragging the title bar of the DockWidget.
Sorry -- it's not the detachability that's the issue, but what happens
to the editing window when TOC is viewed. Drawers on Mac normally open
to the left or right without affecting the size of the main window.
(Like with a drawer on a desk: you don't change the size of the desk
when you pull open the drawer.)
The current TOC widget, when docked, does take up space from the main
editing window, which means opening and closing the TOC widget
constantly affects the width of the text, requiring constant adjustment
of the window size. That's what I don't like.
I am afraid we cannot do much here for now. My only suggestion is: let
the TOC widget always opened. That's the very reason why I have
converted it to a DockWidget at the first place. I've removed most
performance bottleneck with the old dialog so it is not a problem
anymore to let it open IMHO. Well, unless you want more screen space of
course.
That said, instead of the DockWidget, we can create alternatively a
drawer dialog using the very same TocWidget.
Abdel.