Bug 570579: Redo the layout of overlay components
Divide the screen into a grid and use it to determine the layout of the overlay components in a more consistent manner. Remove the 'Add workspace' control and slide the workspaces display to the side without scaling it when switching to the 'More' mode.
This commit is contained in:
@ -110,15 +110,15 @@ AppDisplayItem.prototype = {
|
||||
* width - width available for the display
|
||||
* height - height available for the display
|
||||
*/
|
||||
function AppDisplay(width, height) {
|
||||
this._init(width, height);
|
||||
function AppDisplay(width, height, numberOfColumns, columnGap) {
|
||||
this._init(width, height, numberOfColumns, columnGap);
|
||||
}
|
||||
|
||||
AppDisplay.prototype = {
|
||||
__proto__: GenericDisplay.GenericDisplay.prototype,
|
||||
|
||||
_init : function(width, height) {
|
||||
GenericDisplay.GenericDisplay.prototype._init.call(this, width, height);
|
||||
_init : function(width, height, numberOfColumns, columnGap) {
|
||||
GenericDisplay.GenericDisplay.prototype._init.call(this, width, height, numberOfColumns, columnGap);
|
||||
|
||||
// map<itemId, array of category names>
|
||||
this._categories = {};
|
||||
|
Reference in New Issue
Block a user