Program with wx in Linux and Windows

M

marcpp

Hi I've developed a program (WXpython GUI). In Linux the GUI is correct
(various distributions), but in Windows all appears disordered.
Any recomendations?
 
S

Steve Holden

marcpp said:
Hi I've developed a program (WXpython GUI). In Linux the GUI is correct
(various distributions), but in Windows all appears disordered.
Any recomendations?

A slightly unhelpful one might be "learn to use sizers", as they are the
key to ordered layouts. Unfortunately the learning materials available
aren't for everyone (to the extent that I am considering producing some
more).

But with sizers you can certainly ease cross-platform issues considerably.

If you have an existing interface layout you might want to try just
dropping all the components into a GridSizer to start with, then add
more layout sophistication as you get into it.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden

Sorry, the dog ate my .sigline so I couldn't cat it
 
J

johnf

marcpp said:
Hi I've developed a program (WXpython GUI). In Linux the GUI is correct
(various distributions), but in Windows all appears disordered.
Any recomendations?
Your problem is most likely the lack of sizers. Adding sizers will help you
create a layout that will work on all three of the major platforms.

Take a look at Dabo www.dabodev.com they have a easy to use GUI creator.
And of course there is Glade.

John
 
H

Hendrik van Rooyen

Hi I've developed a program (WXpython GUI). In Linux the GUI is correct
(various distributions), but in Windows all appears disordered.
Any recomendations?

You are not going to like this recommendation.

Use Tkinter instead - seems to work nicely cross platform for me.

- Hendrik
 
G

Grant Edwards

Hi I've developed a program (WXpython GUI). In Linux the GUI is correct
(various distributions), but in Windows all appears disordered.
Any recomendations?

I've been using wxPython for cross platofrm stuff on Linux and
Windows for 5+ years now for at least a dozen programs. I never
had any problems like the one you describe (though "appears
disordered" isn't much of a problem description). I write/test
on Linux, and the programs pretty much "just work" on Windows.

I would guess your code is wrong it a way that happens to be
tolerated better under Linux than Windows for some reason. If
you can come up with a minimal example program that
demonstrates the problem, the people on the wxPython mailing
list will almost certainly be able to tell you what you've done
wrong.
 
B

brad

Grant said:
I've been using wxPython for cross platofrm stuff on Linux and
Windows for 5+ years now for at least a dozen programs. I never
had any problems like the one you describe (though "appears
disordered" isn't much of a problem description). I write/test
on Linux, and the programs pretty much "just work" on Windows.

That sums up my experience with wxPython as well. I've never had any
problems. I develop on Linux and run on Linux, Mac and Windows.

Brad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top