Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3282266
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:54:32+00:00 2026-05-17T19:54:32+00:00

Im having a small issue today.. I am trying to create an aui as

  • 0

Im having a small issue today..

I am trying to create an aui as shown in the demo program of the wx module.
The size of the actual tabs will not change no matter what I do.

They stay at about 400 by 50 and I can’t understand why.

I think it may be when I call

Manager = wxAuiManager:new([{managed_wnd, Panel}]),

I need to set its size, but there are no options for size, nor commands that work as far as I can tell.

This is the code I use to init:

   Server = wx:new(),
     process_flag(trap_exit, true),
    Frame = wxFrame:new(wx:null(), ?wxID_ANY, "TIBRA - TOP SECRET - Plutonyx Systems, LLC", [{size,{1500, 1000}}]),  %%%REFERENCE TO WINDOW



     wxFrame:connect(Frame, command_menu_selected),

    Panel  = wxPanel:new(Frame, [{size, {0, 0}}]),  %%% REF TO PANEL IN FRAME

    Manager = wxAuiManager:new([{managed_wnd, Panel}]),

    Pane = ?pi:new(),
    ?pi:closeButton(Pane),
    ?pi:right(Pane),
    ?pi:dockable(Pane, [{b, true}]),
    ?pi:floatingSize(Pane, 300,200),
    ?pi:minSize(Pane, {500,500}),
    ?pi:paneBorder(Pane),
    ?pi:floatable(Pane, [{b, true}]),
    Notebook = create_notebook(Panel, Manager, Pane),

 create_notebook(Parent, Manager, Pane) ->
    Style = (0
         bor ?wxAUI_NB_DEFAULT_STYLE
         bor ?wxAUI_NB_TOP
         bor ?wxAUI_NB_WINDOWLIST_BUTTON
         bor ?wxAUI_NB_CLOSE_ON_ACTIVE_TAB
         bor ?wxAUI_NB_TAB_MOVE
         bor ?wxAUI_NB_SCROLL_BUTTONS
        ),

    Notebook = wxAuiNotebook:new(Parent, [{style, Style}, {size, {3050,200}}]),

    Tab1 = wxPanel:new(Notebook, [{size, {3050,200}}]),
    wxPanel:setBackgroundColour(Tab1, ?wxBLACK),
    wxButton:new(Tab1, ?wxID_ANY, [{label,"New tab"}]),

    listbox:createListBox(Tab1),
    wxAuiNotebook:addPage(Notebook, Tab1, "You can", []),

    Tab2 = wxPanel:new(Notebook, [{size, {3050,200}}]),
    wxPanel:setBackgroundColour(Tab2, ?wxRED),
    wxButton:new(Tab2, ?wxID_ANY, [{label,"New tab"}]),
    wxAuiNotebook:addPage(Notebook, Tab2, "rearrange", []),

    Tab3 = wxPanel:new(Notebook, [{size, {3050,200}}]),
    wxPanel:setBackgroundColour(Tab3, ?wxGREEN),
    wxButton:new(Tab3, ?wxID_ANY, [{label,"New tab"}]),
    wxAuiNotebook:addPage(Notebook, Tab3, "these tabs", []),

    %%wxAuiManager:setDockSizeConstraint(Manager, 5000, 2000),
    wxAuiManager:addPane(Manager, Notebook, Pane),

    wxAuiNotebook:connect(Notebook, command_button_clicked),
    wxAuiNotebook:connect(Notebook, command_auinotebook_page_close, [{skip, false}]),
    wxAuiNotebook:connect(Notebook, command_auinotebook_page_changed),
    Notebook.

Any ideas would be greatly appreciated.

Best
-B

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T19:54:32+00:00Added an answer on May 17, 2026 at 7:54 pm

    Problem solved,

    Dont add the Notebook to wxSizer…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're having a small issue and could use some help - we have the
Having a small issue and wondering if I'm using these correctly. In my SQL
I'm having an small issue with SQLXML in SQL Server 2008. Here's my testing
I'm having a small issue here: <div id=navbar> <ul id=navtabs class=floatcontainer> <li <?php if
I'm having a small issue with a bit of jQuery: function getQuickResults(terms) { var
I've having a small issue loading a ~50meg file into a database. Unfortunately, and
I am having a small issue in setting up speed tracer with ubuntu. any
I'm new to LINQ and am having a small issue. I created a DBML
I am having a small issue. I am creating a SPGridView on the fly
I'm having a small problem in Java. I have an interface called Modifiable. Objects

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.