Python Forum

Full Version: [SOLVED] How would you code this UI?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I'm still learning about sizers in wxPython, and not sure how to get this type of UI.

What sizer should I use, and how?

Thank you.

  1. Option 1
    • The wxPyWiki webpage has everything you need to create this form.
      It contains many examples that you can cut and paste to try out.
      The outline makes navigation to the subject of choice very easy.
  2. Option 2
    • Log into 'X' (sign up for a free account if you don't have access)
    • click on Grok
    • enter the following into the query box: examples of simple data entry forms written with wxpython, using various sizers.
    • This will give you code for the various types of sizers.. You can try out the various code provided, to see what fits your needs.
Thank you.
While it’s depreciated, I use dialog blocks to generate XRC files. then you can load the XRC into your wxDialog/ wxFrame
dialogblocks You’d still be able to generate that with the trial version

use the WYSIWYG editor to drop in the sizers and controls, there’s a view option to test the dialog.
For that dialog, I’d have a vertical sizer, then a few horizontals.