Revert "Tracker: Add zoom padding in list mode take 2"

This reverts commit 7d009616aa.
This commit is contained in:
John Scipione
2016-08-30 13:40:35 -07:00
parent 020362191a
commit 27c911e8bb
+3 -5
View File
@@ -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;