Kirix Support Forums

How to make toolbars being vertical when left/right docked?

Please post all general questions, comments, bug reports, and any other wxAUI feedback here.

How to make toolbars being vertical when left/right docked?

Postby benedicte on Sat Jul 15, 2006 10:13 am

Hello,

I am trying to allow left and right docking on my toolbars. But they are still horizontal...
I would like them to be vertical.

Do I have something special to set to the pane info when adding the toolbar to the frame manager?

Here is my actual code:
Code: Select all
void MyFrame::setup_toolbars()
{
   for (TCombSize idx=0; idx<toolbars.nb_elem(); idx++)
   {
      wxToolBar* toolbar = wxXmlResource::Get()->LoadToolBar(this, toolbars[idx].xrc_name);
      frame_manager->AddPane(toolbar, wxPaneInfo().
               Name(toolbars[idx].name).Caption(toolbars[idx].caption).
               ToolbarPane().Top().Row(toolbars[idx].row).Position(toolbars[idx].pos).
               Dockable(true));
   }
    frame_manager->Update();
}


Regards,
Bénédicte
benedicte
Registered User
 
Posts: 5
Joined: Fri Jun 09, 2006 3:23 am
Location: Paris, France

Return to wxAUI Questions, Thoughts & Feedback