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 8870649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:47:22+00:00 2026-06-14T17:47:22+00:00

I am creating a layout using wxFormBuilder. I have a frame, wxBoxSizer (wxToolBar and

  • 0

I am creating a layout using wxFormBuilder. I have a frame, wxBoxSizer (wxToolBar and wxListBook in it) and a wxMenuBar with a wxMenu in it, like so: https://i.stack.imgur.com/GVc5J.png

I then view the XRC Window and it seems ok: https://i.stack.imgur.com/jnOYv.png

Then, I add a tool to the toolbar, like so: https://i.stack.imgur.com/MrMRa.png

The problem shows up when I then check the XRC Window and I see that there is a blank space between the menubar and the toolbar: https://i.stack.imgur.com/N93nc.png

How can I remove this gap? Thanks.

  • 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-06-14T17:47:23+00:00Added an answer on June 14, 2026 at 5:47 pm

    Normal, default frame toolbar shouldn’t be added to the sizer managing the rest of the frame elements because it’s already handled by wxFrame itself automatically, so if you just need a toolbar positioned in the standard location (as opposed to having a toolbar in the middle of a window or something like that) you just shouldn’t do this. I’m still not sure where does the gap come from but I am pretty sure that it will disappear once you stop adding toolbar to the sizer.

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

Sidebar

Related Questions

i am creating a new android application.i am using the table layout. I have
I have seen several methods for creating simple fixed width single column layout using
When using UiBinder what is the preferred method of creating a simple layout like
I'm quite new to creating layout using SWT. This is what I have to
How do I go about creating a 3 col landscape layout using xhtml2pdf? I
I am creating an android application in which I am using table layout in
I am creating a multi-plot layout illustration using R, and it would be convenient
I'm creating a cross platform application using Swing and Netbeans (Group Layout). Is there
I'm creating a little dashboard page using CSS, i'm just planning the layout and
I am creating an app, where i am creating a layout like this image,

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.