Skip to main content

All Questions

Tagged with
0 votes
1 answer
425 views

wxPython: Automatically resize the frame to keep free space out

I have a very simple wxPython app which consist of a frame containing: control1 that keeps its aspect ratio on resize. control2 that keeps its height constant and fills the entire width of the frame. ...
Albus Dumbledore's user avatar
0 votes
1 answer
43 views

wxPython how to move items to new row if they become hidden?

I have a collection of buttons arranged in a row. Here is a simplified example of my code: import wx app = wx.App(False) frame = wx.Frame(None) panel = wx.Panel(frame, wx.ID_ANY) box = wx.BoxSizer(...
Andereoo's user avatar
  • 1,048
0 votes
2 answers
297 views

In wxPython, how can I use sizers to left- and right-justify statictext beneath a slider?

I'm trying to make a GUI like so: The big square is a wxGrid, the small ones are wxButtons, and they all act fine. The drawing at left is intended to be a wxSlider, with text labels "slow" ...
kaltorak's user avatar
0 votes
1 answer
214 views

How to fix the layout stacking in wxpython

I'm trying to display the connection settings, that are required for an ssh connection, i'm using the wx.BoxSizer to arrange the layout, unfortunately the layout doesn't work and stacks all elements ...
Erik B.'s user avatar
  • 95
1 vote
1 answer
271 views

buttons and a refreshing display area in wxpython

I am a humanities teacher, trying to adapt a simple app to help teachers manage classroom interaction - it takes attendance, then allows for calling on random attending students in class, or breaking ...
Steve Petersen's user avatar
0 votes
1 answer
162 views

WxPython BoxSizer inside Listbook

I'm trying to use wx.Listbook to implement a settings window with multiple pages. I made the Listbook just fine, but when I started adding items to a page, I ran into a problem. The items are ...
Catherine D's user avatar
0 votes
0 answers
137 views

wxPython : wx.lib.scrolledpanel.ScrolledPanel Scrollbars overlapping buttons

In this question I got help with the wxPython ScrolledPanel panel, which really helped, but I have noticed that the scrollbar is interfering/overlapping with the buttons I am creating. Is there a way ...
Swatcat's user avatar
  • 55
0 votes
0 answers
65 views

wxPython Scroll Panel Spacing Issue

I have tried to follow question and answer from this site regarding making a scrolly window with bitmaps, but I can't get it behave how I expected it to. This is the panel code: class ScrollyPanel(...
Swatcat's user avatar
  • 55
0 votes
1 answer
475 views

wxPython - Layout item on left and right

I hope this isn't a noobie question, but I am trying to understand WxPython for a project. I need to add an item to the left and right hand side of the top bar. Diagram of what I am trying to ...
Swatcat's user avatar
  • 55
1 vote
1 answer
4k views

Padding in Panel and static text wrap in wxpython

I would like to have a layout something like this There is a Main Panel just inside the frame with blank padding in the left and right which another Sub Panel located in the middle. A Static Text ...
Xuan Hu's user avatar
  • 886
1 vote
1 answer
1k views

Expand child elements of wx.GridBagSizer on Panel on wx.Notebook

I have a simple application with wx.Notebook, it looks like this: To lay out its child elements, I used wx.GridBagSizer - and it works perfectly. However, I encountered a small but annoying issue. ...
yak's user avatar
  • 3,940
1 vote
1 answer
2k views

Layout Management with wxPython

This new question is build on this I am having problem with managing the layout in wxPython. In this program I have two buttons in two layouts. But no matter what I do I cant change the position or ...
Sam's user avatar
  • 79
0 votes
1 answer
656 views

Replace an Existing layout with new layout with wxPython

I am new to wxPython. I am making a layout with Gridbagsizer. I almost succeeded in making my desired layout. But for some unknown problem it is giving some problem. My objective: I made 5 layouts. ...
Sam's user avatar
  • 79
4 votes
3 answers
4k views

wxpython layout with sizers

I'm having difficulty getting my sizers to work properly in wxpython. I am trying to do a simple one horizontal bar at top (with text in it) and two vertical boxes below (with gridsizers * the left ...
mcfly's user avatar
  • 1,151
5 votes
2 answers
1k views

Constrain wxPython MultiSplitterWindow panes

Edit: I'm leaving the question open as is, as it's still a good question and the answer may be useful to others. However, I'll note that I found an actual solution to my issue by using a completely ...
Chris Krycho's user avatar
  • 3,155

15 30 50 per page