Question about wx BoxSizer background

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gandalf

    Question about wx BoxSizer background

    I'm creating a table with gridSizer, and I'm trying to set cell
    background like I use to do with HTML

    so I tried this:
    BoxName =wx.BoxSizer(wx .HORIZONTAL)
    BoxName.SetBack groundColour('# cce8fa')

    and it told me their is no sauce function

    so what is the right way to do it?


    thanks!
  • Miki

    #2
    Re: Question about wx BoxSizer background

    Hello,
    I'm creating a table with gridSizer,  and I'm trying to set cell
    background like I use to do with HTML
    >
    so I tried this:
    BoxName =wx.BoxSizer(wx .HORIZONTAL)
    BoxName.SetBack groundColour('# cce8fa')
    >
    and it told me their is no sauce function
    A sizer is just for layout management, it does not show on the screen.
    You need to set the color of the items inside the sizer or the item
    the this is it's main sizer.

    HTH,
    --
    Miki <miki.tebeka@gm ail.com>
    If it won't be simple, it simply won't be. [Hire me, source code]


    Comment

    • Gandalf

      #3
      Re: Question about wx BoxSizer background

      thanks!

      Comment

      Working...