* 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:
parent
cd81456e14
commit
9fdd497614
@ -132,13 +132,13 @@ BColorControl::_InitData(color_control_layout layout, float size,
|
|||||||
fBlueText->TextView()->AllowChar(i);
|
fBlueText->TextView()->AllowChar(i);
|
||||||
fBlueText->TextView()->SetMaxBytes(3);
|
fBlueText->TextView()->SetMaxBytes(3);
|
||||||
|
|
||||||
_LayoutView();
|
|
||||||
|
|
||||||
AddChild(fRedText);
|
AddChild(fRedText);
|
||||||
AddChild(fGreenText);
|
AddChild(fGreenText);
|
||||||
AddChild(fBlueText);
|
AddChild(fBlueText);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_LayoutView();
|
||||||
|
|
||||||
if (useOffscreen) {
|
if (useOffscreen) {
|
||||||
BRect bounds = fPaletteFrame;
|
BRect bounds = fPaletteFrame;
|
||||||
bounds.InsetBy(-2.0f, -2.0f);
|
bounds.InsetBy(-2.0f, -2.0f);
|
||||||
|
Loading…
Reference in New Issue
Block a user