@@ -469,6 +469,9 @@ TBarView::PlaceTray(bool vertSwap, bool leftSwap)
|
|||||||
} else {
|
} else {
|
||||||
if (!fResizeControl->IsHidden())
|
if (!fResizeControl->IsHidden())
|
||||||
fResizeControl->Hide();
|
fResizeControl->Hide();
|
||||||
|
// move right and down to not cover border then resize to fit
|
||||||
|
fReplicantTray->MoveTo(kGutter, kGutter);
|
||||||
|
fReplicantTray->ResizeBy(-kGutter, -kGutter);
|
||||||
BRect screenFrame = (BScreen(Window())).Frame();
|
BRect screenFrame = (BScreen(Window())).Frame();
|
||||||
statusLoc.x = screenFrame.right - fDragRegion->Bounds().Width();
|
statusLoc.x = screenFrame.right - fDragRegion->Bounds().Width();
|
||||||
statusLoc.y = -1;
|
statusLoc.y = -1;
|
||||||
|
|||||||
@@ -1160,7 +1160,7 @@ TReplicantTray::LocationForReplicant(int32 index, float width)
|
|||||||
if (fBarView->Vertical() && !fBarView->Left())
|
if (fBarView->Vertical() && !fBarView->Left())
|
||||||
loc.x += kDragWidth;
|
loc.x += kDragWidth;
|
||||||
else if (!fBarView->Vertical())
|
else if (!fBarView->Vertical())
|
||||||
loc.x += 2;
|
loc.x += kGutter;
|
||||||
|
|
||||||
if (fMultiRowMode) {
|
if (fMultiRowMode) {
|
||||||
// try to find free space in every row
|
// try to find free space in every row
|
||||||
|
|||||||
Reference in New Issue
Block a user