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:
@ -91,15 +91,15 @@ DocDisplayItem.prototype = {
|
||||
* width - width available for the display
|
||||
* height - height available for the display
|
||||
*/
|
||||
function DocDisplay(width, height) {
|
||||
this._init(width, height);
|
||||
function DocDisplay(width, height, numberOfColumns, columnGap) {
|
||||
this._init(width, height, numberOfColumns, columnGap);
|
||||
}
|
||||
|
||||
DocDisplay.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);
|
||||
let me = this;
|
||||
this._recentManager = Gtk.RecentManager.get_default();
|
||||
this._docsStale = true;
|
||||
|
Reference in New Issue
Block a user