First I am new to both python and wxPython. I have developed a couple of applications for myself with Paradox, but it is time to move on.
I am having difficulty creating a solid background for a flatNotebook widget. I have a page that uses a flexBagSizer to display about 40 pieces of information. For those that I have no further use for I use a staticTextBox, for those I want to be able to present more information for (drill down) I use a wx.button. Using the defaults I created the form I want.
Where I'm having trouble is trying to make it look nice. I am trying to present a consistent color scheme. My problem is in creating a solid looking background.
first I tried using the colorPanel used in several demos, this seemed to work well but for some reason only the staticText widgets are visible, the buttons are covered by the colorPanel and I couldn't figure out how to make them visible.
So then I tried going back to the default page and adding the panels directly to empty grid cells, using background colors on the widgets. This also seemed to work until I realized that the background doesn't fill the cell it form fits the text and even if I pad the text for the horizontal space the background leaves default grey vertical lines as it doesn't fill all the space.
Can anyone help me with this. I would prefer the first, making the buttons visable on the grid with the colorPanel (allot less code) but if that doesn't work some way of filling in the background color on a grid cell with a control in it will work as well.
I am having difficulty creating a solid background for a flatNotebook widget. I have a page that uses a flexBagSizer to display about 40 pieces of information. For those that I have no further use for I use a staticTextBox, for those I want to be able to present more information for (drill down) I use a wx.button. Using the defaults I created the form I want.
Where I'm having trouble is trying to make it look nice. I am trying to present a consistent color scheme. My problem is in creating a solid looking background.
first I tried using the colorPanel used in several demos, this seemed to work well but for some reason only the staticText widgets are visible, the buttons are covered by the colorPanel and I couldn't figure out how to make them visible.
So then I tried going back to the default page and adding the panels directly to empty grid cells, using background colors on the widgets. This also seemed to work until I realized that the background doesn't fill the cell it form fits the text and even if I pad the text for the horizontal space the background leaves default grey vertical lines as it doesn't fill all the space.
Can anyone help me with this. I would prefer the first, making the buttons visable on the grid with the colorPanel (allot less code) but if that doesn't work some way of filling in the background color on a grid cell with a control in it will work as well.
Comment