* typo in Control
* layout the view even in the case of an unarchived one * this should finally fix #2121 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25106 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -132,13 +132,13 @@ BColorControl::_InitData(color_control_layout layout, float size,
|
||||
fBlueText->TextView()->AllowChar(i);
|
||||
fBlueText->TextView()->SetMaxBytes(3);
|
||||
|
||||
_LayoutView();
|
||||
|
||||
AddChild(fRedText);
|
||||
AddChild(fGreenText);
|
||||
AddChild(fBlueText);
|
||||
}
|
||||
|
||||
_LayoutView();
|
||||
|
||||
if (useOffscreen) {
|
||||
BRect bounds = fPaletteFrame;
|
||||
bounds.InsetBy(-2.0f, -2.0f);
|
||||
|
||||
Reference in New Issue
Block a user