Skip to content

Commit

Permalink
Team number and refinements to window gen
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBoesen committed Jul 31, 2016
1 parent af269c1 commit 956cbb4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
4 changes: 4 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ text {
-ms-transform-origin: right;
transform-origin: right;
}
#team {
font-size: 28px;
letter-spacing: -1px;
}
aside {
right: 0;
top: 0;
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<circle cx="100" cy="410" r="25" />
<circle cx="260" cy="410" r="25" />
<rect x="60" y="380" width="250" height="30" />
<text x="185" y="405" id="team" text-anchor="middle">####</text>
</svg>
</article>
<!-- The sidebar of the dashboard. Designed for smaller control elements like selection boxes and small buttons. -->
Expand Down
12 changes: 7 additions & 5 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ let mainWindow;
function createWindow() {
// Create the browser window.
mainWindow = new BrowserWindow({
width: 1000,
height: 600
width: 1366,
height: 570
// 1366x570 is a good standard height, but you may want to change this to fit your DriverStation computer's screen better.
// It's best if the dashboard takes up as much space as possible without covering the DriverStation application.
});

// Load the index.html of the app.
// mainWindow.loadURL('file://' + __dirname + '/index.html');
// Move window to top (left) of screen.
mainWindow.setPosition(0, 0);

// Instead, load the server URL.
// Load the server URL.
mainWindow.loadURL('http://localhost:8888');

// Emitted when the window is closed.
Expand Down

0 comments on commit 956cbb4

Please sign in to comment.