Skip to content

Commit

Permalink
tablet: Add spacer between elements
Browse files Browse the repository at this point in the history
Align indicators and launcher to the center.

Issue: #155
  • Loading branch information
plfiorini committed Apr 12, 2014
1 parent 358ee30 commit d078dbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/packages/shells/tablet/contents/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,14 @@ for (var i = 0; i < screenCount; i++) {
topPanel.location = "top";
topPanel.thickness = 24;
topPanel.immutable = true;
topPanel.addElement("org.hawaii.elements.spacer");
topPanel.addElement("org.hawaii.elements.indicators");
topPanel.addElement("org.hawaii.elements.spacer");

var bottomPanel = new Panel(i);
bottomPanel.location = "bottom";
bottomPanel.immutable = true;
bottomPanel.addElement("org.hawaii.elements.spacer");
bottomPanel.addElement("org.hawaii.elements.launcher");
bottomPanel.addElement("org.hawaii.elements.spacer");
}

0 comments on commit d078dbb

Please sign in to comment.