#5522: LayoutManager / BGLView Bug -----------------------------+---------------------------------------------- Reporter: ccipri | Owner: phoudoin Type: bug | Status: in-progress Priority: normal | Milestone: R1 Component: Kits/OpenGL Kit | Version: R1/Development Keywords: | Blockedby: Platform: All | Blocking: -----------------------------+---------------------------------------------- Comment(by ccipri): Perhaps I should start a new ticket, but since it's related to the code I attached above I say it here: If you take a look at the source code you see that I call fTest->SetLowColor() (I want to set the button to red), but nothing happens. If I move this method call after the button is attached to the layout, then it really changes to red. It happens the same with SetViewColor(). It seems like the values set by SetLowColor and SetViewColor are overwritten to the default values( perhaps while the gui- elements are attached to the layout, or somewhere else). I guess this is not a bug, but your intention to force a unified look, but I'm a little unhappy with that because of that I have to write an additional method to correct this (For example you see in the source that I call fTimeView->Init() after layout is constructed, but in normal case this code should be part of the constructor ) ) -- Ticket URL: <http://dev.haiku-os.org/ticket/5522#comment:8> Haiku <http://dev.haiku-os.org> Haiku - the operating system.