Python Forum
[WxPython] [SOLVED] How would you code this UI?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[WxPython] [SOLVED] How would you code this UI?
#1
Question 
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.

Attached Files

Thumbnail(s)
   
Reply
#2

  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.
Reply
#3
Thank you.
Reply
#4
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.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020