Fixed wrong layout under R5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19939 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -168,9 +168,11 @@ BackgroundsView::BackgroundsView(BRect frame, const char *name, int32 resize,
|
|||||||
AddChild(rightbox);
|
AddChild(rightbox);
|
||||||
|
|
||||||
float offset = be_plain_font->StringWidth("Placement:") + 5;
|
float offset = be_plain_font->StringWidth("Placement:") + 5;
|
||||||
rect.Set(10, 10, rightbox->Bounds().right - 10, 30);
|
rect.Set(10, 0, rightbox->Bounds().right - 10, 30);
|
||||||
#ifdef __HAIKU__
|
#ifdef __HAIKU__
|
||||||
rect.top = 8 + rightbox->InnerFrame().top;
|
rect.top = 8 + rightbox->InnerFrame().top;
|
||||||
|
#else
|
||||||
|
rect.top = 5 + workspaceMenuField->Bounds().Height();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
fImageMenu = new BPopUpMenu("pick one");
|
fImageMenu = new BPopUpMenu("pick one");
|
||||||
|
|||||||
Reference in New Issue
Block a user