Use CSS for spacing

Use CSS instead of St.Bin actors for spacing.

https://bugzilla.gnome.org/show_bug.cgi?id=612852
This commit is contained in:
Adel Gadllah 2010-03-14 11:09:30 +01:00
parent b55fd735f4
commit cb80dc6834
2 changed files with 1 additions and 13 deletions

View File

@ -726,6 +726,7 @@ StTooltip {
border: 0px;
border-radius: 0px;
padding: 4px;
spacing: 4.5px;
}
.ws-switcher-active-left {
@ -744,14 +745,6 @@ StTooltip {
border-radius: 4px;
}
.ws-switcher-spacer {
width: 0.5px;
height: 96px;
border: 0px;
background: transparent;
padding: 4px;
}
.ws-switcher-box {
height: 96px;
border: 2px solid rgba(85,85,85,0.5);

View File

@ -60,11 +60,6 @@ WorkspaceSwitcherPopup.prototype = {
this._list.add(indicator);
indicator.set_width(Math.round(indicator.get_height() * this._scaleWidth));
if (i < global.screen.n_workspaces - 1) {
let spacer = new St.Bin({ style_class: 'ws-switcher-spacer' });
this._list.add(spacer);
}
}
},