Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: rickg22 on June 27, 2007, 08:00:54 am
-
Guys, i'm embarrassed, but I can't manage to resize the todo list.
If you try to resize the todo list, you can't resize it below a specific height. I've tried to change the parameters using SetBestFittingSize (or SetInitialSize in wx2.8.4), but it doesn't work.
Any hints?
-
src/plugins/todo/todolist.cpp:100
-
Thanks! :D
Edit: Now that we're at it, why did you remove the TODO list from the message manager? It was fine as it was... I think...
Hey! The todo plugin has a configure dialog. Why isn't it attached to the Environment settings???? :?
Edit: Ah, ToDo list hasn't been updated to use the new configuration environment... I'll do that.
-
Edit: Now that we're at it, why did you remove the TODO list from the message manager? It was fine as it was... I think...
Because TODOs are not messages...
-
Well, in a way, they are... they are "reminder" messages :)
Anyway. I modified the lines you told me, but the minimum size doesn't change. Is there something else I should do?
-
Yes, try "View->Layout->Delete current".
-
Thanks!
-
Yiannis, bad news. I tried that, but C::B said it couldn't delete the default Code::Blocks layout. Instead it asked me to reset to some default values. I did, and nothing happened. The Todo list kept blocking at the same minimum size.
It wasn't until I changed its pane name (todolistpane2 or something) that I could resize it to a decent minimum value. Is this a Code::Blocks bug?
-
I submitted a patch for the ToDo list. Additionally, it gives the user the __option__ (disabled by default) to put the ToDo list in the messages pane.
Please tell me what you think.
http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2082&group_id=5358
Only one detail, if the ToDo is shown in the messages pane, the buttons are shown over dark grey instead of the normal light grey. Don't know why...
-
Sounds like a nice idea :idea: to me, from a "screen real-estate" point of view.
I submitted a patch for the ToDo list. Additionally, it gives the user the __option__ (disabled by default) to put the ToDo list in the messages pane.
Please tell me what you think.
gn
-
As I posted here (http://forums.codeblocks.org/index.php/topic,5883.msg48332.html) I think it would be cool if wxAUI managed the tabs.
If the user could drag tabs out notebooks to create an own floating pane (and vice versa) we could let wxAUI and in the end the user decide about the layout.
So we wouldn't need to hardcode an option.
Regards
raph
-
Raph: We're about to release RC3 (a few weeks), we can't just change a whole thing without further testing, I'm afraid we'd have to wait until v1.0 is released to start making changes on this.
Tell you what. When I get home, I'll commit the patch that I have (it fixes other bugs, too), if nobody objects.
Edit: Done.