Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

wxSmithAui plugin: wxAui support for wxSmith

<< < (2/12) > >>

byo:

--- Quote from: Ganbito on January 23, 2009, 10:04:17 pm ---Yes, this post is a the first step of making the plugin available to codeblocks users, what I really want is to submit it to the trunk. If you review my first post:

--- End quote ---

I thought rather about integrating the code into wxSmith plugin - in such case anybody havinf wxSmith plugin will also have wxAUI enabled.
But when thought about this a little bit maybe the plugin is not so god idea - it may be easier to maintain it for you.

Regards
   BYO

Ganbito:

--- Quote from: byo on January 24, 2009, 11:30:06 am ---I thought rather about integrating the code into wxSmith plugin - in such case anybody havinf wxSmith plugin will also have wxAUI enabled.
But when thought about this a little bit maybe the plugin is not so god idea - it may be easier to maintain it for you.

--- End quote ---

Well, I thought about it when I start the plugin and I also think that wxAui support will be best inside wxSmith plugin. But you also catch the problem: I want to maintain the code by myself, not with patchs posted in this forum, especially since the plugin is not yet complete.


Edit: Obviously, if dev's don't allow me to submit the plugin to the svn server, integrating it into wxSmith will be the best solution.

GeO:
First I want to say that this plugin (or whatever it'll be) is very nice!
I played arround a little and found it very usefull!
Sadly i too found some bugs (or it's just my incompetency?)

    Generally:      When i undock a pane i can't dock them on again
                       Edit: i've now realized that in the Option 'Aui Dockable' the Option 'Dockable(All)'
                              isn't working, instead i must select all componets seperate!
                              Could it be that in wxAuiManager\wxsAuiPaneInfoProperty.cpp line: 44 it should be
                              "PGC1.Add(_("Dockable (All)"), DockableAll);" instead of
                              "PGC1.Add(_("Dockable (All)"), Dockable);"
    wxAuiNotebook:  1) I can't select the wxAuiNotebook in the Editor
                           2) I can't change to another page by clicking on the tab
                           3) If i turn on the option 'AUI Resizable' i can't
                               change anymore the size of the wxAuiNotebook in
                               the editor!

Greets GeO

PS: Sorry for my bad english, if you found any mistake
      pls correct them, so i can learn from my mistakes!

Ganbito:

--- Quote from: GeO on January 24, 2009, 05:30:46 pm ---    Generally:      When i undock a pane i can't dock them on again

--- End quote ---

That is because you don't select any "Dockable" option. By now, "Dock direction" and "Dockable" options are independent, I will make that when you choose a "Dock direction", the right "Dockable" option gets checked automatically. For "Center", it will be "Dockable (All)".



--- Quote from: GeO on January 24, 2009, 05:30:46 pm ---                       Edit: i've now realized that in the Option 'Aui Dockable' the Option 'Dockable(All)'
                              isn't working, instead i must select all componets seperate!
                              Could it be that in wxAuiManager\wxsAuiPaneInfoProperty.cpp line: 44 it should be
                              "PGC1.Add(_("Dockable (All)"), DockableAll);" instead of
                              "PGC1.Add(_("Dockable (All)"), Dockable);"

--- End quote ---

I've have tested this a lot of times, and it work well for me.
I've also tried that change you suggest but, as the wxPGChoices work, the result is not the desired. Try it and you will see that I mean.
Code for make it working is in "PGRead" and "PGWrite" methods in the same file.


--- Quote from: GeO on January 24, 2009, 05:30:46 pm ---    wxAuiNotebook:  1) I can't select the wxAuiNotebook in the Editor
                           2) I can't change to another page by clicking on the tab

--- End quote ---

I'll try to fix them.


--- Quote from: GeO on January 24, 2009, 05:30:46 pm ---                           3) If i turn on the option 'AUI Resizable' i can't
                               change anymore the size of the wxAuiNotebook in
                               the editor!

--- End quote ---

It is not really a bug of wxSmithAui, it is just how wxAuiManager works.
I have tested using widget's size properties as paneinfo size properties, and I decided to separate them. But, if it is preferred by codeblocks users, I can join them in this way:

Widget  --> wxAuiPaneInfo
Size      --> BestSize
MinSize  --> MinSize
MaxSize --> MaxSize

What do you think?

GeO:

--- Quote from: Ganbito on January 24, 2009, 06:47:08 pm ---
--- Quote from: GeO on January 24, 2009, 05:30:46 pm ---    Generally:      When i undock a pane i can't dock them on again

--- End quote ---

That is because you don't select any "Dockable" option. By now, "Dock direction" and "Dockable" options are independent, I will make that when you choose a "Dock direction", the right "Dockable" option gets checked automatically. For "Center", it will be "Dockable (All)".

--- End quote ---

I understand this, but i can't see any difference in the code if I check "Dockable (All)" or if I let unchecked all options!


--- Quote from: Ganbito on January 24, 2009, 06:47:08 pm ---It is not really a bug of wxSmithAui, it is just how wxAuiManager works.
I have tested using widget's size properties as paneinfo size properties, and I decided to separate them. But, if it is preferred by codeblocks users, I can join them in this way:

Widget  --> wxAuiPaneInfo
Size      --> BestSize
MinSize  --> MinSize
MaxSize --> MaxSize

What do you think?

--- End quote ---

I think it would be better to join them, because the separation of them brings alot of confusion.

Greets GeO

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version