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:
parent
b30e7f31c1
commit
9760e52d0c
@ -168,9 +168,11 @@ BackgroundsView::BackgroundsView(BRect frame, const char *name, int32 resize,
|
||||
AddChild(rightbox);
|
||||
|
||||
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__
|
||||
rect.top = 8 + rightbox->InnerFrame().top;
|
||||
#else
|
||||
rect.top = 5 + workspaceMenuField->Bounds().Height();
|
||||
#endif
|
||||
|
||||
fImageMenu = new BPopUpMenu("pick one");
|
||||
|
Loading…
x
Reference in New Issue
Block a user