Revert "Tracker: Add zoom padding in list mode take 2"
This reverts commit 7d009616aa
.
This commit is contained in:
parent
020362191a
commit
27c911e8bb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue