Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buttons on every panel are stacked #16

Open
GoogleCodeExporter opened this issue Jul 1, 2015 · 2 comments
Open

buttons on every panel are stacked #16

GoogleCodeExporter opened this issue Jul 1, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Compile and run

What is the expected output? What do you see instead?
The design intends multiple buttons on the right, as seen in the screenshot 
under Project Home.

My builds look different: buttons on every panel are stacked -- all positioned 
at (0,0), supposedly wxBoxSizer doesn't arrange them. Therefore only the last 
button is seen. It is usually possible to cycle through buttons by hitting Tab, 
however then the button with focus is _not_ the visible one (which even has the 
focus rectangle drawn). Still after some practice it is possible to open the 
tools panel, or even the waypoints panel, and observe that all panels have the 
same problem.

What version of the product are you using? On what operating system?
Current (revision 35), XP Pro SP2 or Fedora Core 12 via Virtual PC 2007.
Actually I encountered the problem in April 2010 (revision 33) though didn't 
try Linux back then.

Please provide any additional information below.
WxWidgets 2.8.11. A static debug build for Windows (it's my development 
machine), a shared build for Linux (wxGTK), both compiled from source.

I'm still new to wxWidgets. Their wiki entry for wxSizer explicitly recommends 
SetSizerAndFit() so there must be reason for that. Is it possible that all of 
you used an even older version of wxWidgets which automagically did the job?

The attached patch fixes the problem on both operating systems.

Original issue reported on code.google.com by sai...@mail.lt on 4 Jan 2011 at 10:53

Attachments:

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Correction: wxWidgets 2.8.10. The 2.8.11 is indeed available but I missed it 
somehow. With the current one, 2.9.11, Ozex can't be compiled at all (perhaps I 
will report a separate issue one fine day).

Original comment by sai...@mail.lt on 4 Jan 2011 at 11:15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant