Python Forum

Full Version: Need help sizing a window
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am working on a new application.
It uses the wxpython phoenix wx.lib.agw.aui framemanager package

I choose this because of the way it creates an all-in-one container for all of the
widgets that I'd like to use, and seemed a good fit.

Everything had been progressing very well, until I wanted to add a search widget
below my ListCtrl in the left pane. No problem adding the control, but am having an
issue with sizing. I can't seem to get the window to a small one liner below self.rfc_list

I've tried adding a panel (within the left pane) to contain the two widgets, and
tried various sizers on that, without success.

I am new to wxpython, so still learning. I would appreciate any help with this issue.

Here's a screenshot of what I have so far:
[attachment=201]

The code can be found here: https://github.com/Larz60p/RFCviewer/
It requires the following packages:
requests, BeautifulSoup, json, wxpython phoenix
-------------------------------------------------------------------
update:

I have partially solved this issue. I had some old code:
        info = wx.aui.AuiPaneInfo()
        info.CaptionVisible(False)
        info.Left()
        info.Dockable(False)
        info.Name('self.search')
        self._mgr.AddPane(self.search, info)
If this code is commented out, the search widget is sized correctly. But it's still stacked wrong.
I want to to be under the ListCtrl. This should be pretty easy to fix, but I've had enough. Need
to take a few hours off.

Later.