Revert "Tracker: Add some zoom padding in list mode"
This reverts commit f76147aa9a.
This commit is contained in:
@@ -1352,10 +1352,6 @@ 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;
|
||||||
|
|
||||||
// add some padding to the right and bottom
|
|
||||||
frame.right += be_control_look->DefaultItemSpacing() * 2;
|
|
||||||
frame.bottom += be_control_look->DefaultItemSpacing() * 2;
|
|
||||||
|
|
||||||
// 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