Revert "Tracker: Add zoom padding in list mode take 2"
This reverts commit 7d009616aa.
This commit is contained in:
@@ -1352,11 +1352,9 @@ BContainerWindow::ResizeToFit()
|
|||||||
frame.right = frame.left + extent.Width() + widthDiff;
|
frame.right = frame.left + extent.Width() + widthDiff;
|
||||||
frame.bottom = frame.top + extent.Height() + heightDiff;
|
frame.bottom = frame.top + extent.Height() + heightDiff;
|
||||||
|
|
||||||
if (PoseView()->ViewMode() == kListMode) {
|
// add some padding to the right and bottom
|
||||||
// add some padding to the right and bottom
|
frame.right += be_control_look->DefaultItemSpacing() * 2;
|
||||||
frame.right += 16;
|
frame.bottom += be_control_look->DefaultItemSpacing() * 2;
|
||||||
frame.bottom += 16;
|
|
||||||
}
|
|
||||||
|
|
||||||
// make sure entire window fits on screen
|
// make sure entire window fits on screen
|
||||||
frame = frame & screenFrame;
|
frame = frame & screenFrame;
|
||||||
|
|||||||
Reference in New Issue
Block a user