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
1 changed files with 3 additions and 5 deletions

View File

@ -1352,11 +1352,9 @@ BContainerWindow::ResizeToFit()
frame.right = frame.left + extent.Width() + widthDiff;
frame.bottom = frame.top + extent.Height() + heightDiff;
if (PoseView()->ViewMode() == kListMode) {
// add some padding to the right and bottom
frame.right += 16;
frame.bottom += 16;
}
// 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
frame = frame & screenFrame;