Feature #1930 2006-03-05 21:07
tdb
Remember dock sizes
Currently, if a dock panel is hidden and then restored, it's returned to a predetermined size. it would be nice if it would be the same size as it was before it was hidden. I like to keep the messages window hidden when editing and the default size only shows seven or so lines.
- Category
- Interface
- Status
- Open
- Close date
- Assigned to
History
Ok this is what I did, and it does what you want.
1. Resize the Open files list window to a smaller size.
2. View -> Open files list. This hides the Open files list window.
3. View -> Open files list.
4. The Open files list window is the same size it was when you hid it with #2.
Or did you mean something different?
hi, I was about to report the same thing ... everytime I use F2 to hide / restore the messages pane, it is restored to default 'small' size ..
extremely annoying to have to resize it manually. (I hide/restore the msgs pane very often when compiling)
oh, this is w. nighlty build CB_20060305_rev2141_win32
Indeed, individual window sizes inside the panel are saved. But the size of the panel itself is not. Procedure to reproduce:
1. Resize messages panel vertically (assuming it's in the bottom) 2. Press F2 twice to hide and show the panel 3. It's again annoyingly small
Revision 2133 on Linux here.
Ok. I can confirm. It only happens with the Messages pane. The other panes work the way you want them to..... I'll check it. :)
As far as I can tell, this is a wxFNB "feature", and it affects all panes. We only call Hide(), Show(), and Update() from inside Code::Blocks. During Update, wxFNB does a lot of rectangle and layout calculations on previously hidden panes (which I am unable to follow as a whole). I guess that is where it inserts the minimum size.