Fixing issue where incorrect min/max widths/heights were being reported to widgets. (Bug 10940505)

This commit is contained in:
Winson Chung committed 2013-09-26 16:08:03 -07:00
1 parent 88cc3f5aa2
commit fe411c8e31
3 files changed
+18 -9

No files matched your search

+2 -1
View File
@@ -290,7 +290,8 @@ class DeviceProfile {
Rect getWorkspacePadding(int orientation) {
Rect padding = new Rect();
if (isVerticalBarLayout()) {
if (orientation == CellLayout.LANDSCAPE &&
transposeLayoutWithOrientation) {
// Pad the left and right of the workspace with search/hotseat bar sizes
padding.set(searchBarSpaceHeightPx, edgeMarginPx,
hotseatBarHeightPx, edgeMarginPx);