bgui icon indicating copy to clipboard operation
bgui copied to clipboard

Unable to create a themed frame without border (border==0)

Open arielvb opened this issue 12 years ago • 1 comments

If you want to override the border of a themed frame to size 0 when creating a new frame bgui.Frame(...,border=0) the frame will use the border theme value.

You can reproduce this following the next steps:

  • Modify the border color for frames on the default theme.cfg, for example to red https://github.com/Moguri/bgui/blob/master/themes/default/theme.cfg#L17 BorderColor=1, 0.0, 0.0, 1.0
  • Modify the example simple to create the win without frame on https://github.com/Moguri/bgui/blob/master/examples/simple/blender_test.py#L22 to: self.win = bgui.Frame(self, size=[0.6, 0.8], border=0,

arielvb avatar Dec 12 '13 08:12 arielvb

Thanks for the fix!

Moguri avatar Dec 19 '13 02:12 Moguri