Fix cnc & ra mod page layout on Windows.

This commit is contained in:
Matthew Bowra-Dean
2010-11-27 16:09:58 +13:00
committed by Paul Chote
parent f798639125
commit 0f6f36411a
3 changed files with 13 additions and 10 deletions

View File

@@ -73,7 +73,7 @@
treeNode1, treeNode1,
treeNode2}); treeNode2});
this.treeView.ShowLines = false; this.treeView.ShowLines = false;
this.treeView.Size = new System.Drawing.Size(146, 465); this.treeView.Size = new System.Drawing.Size(160, 465);
this.treeView.TabIndex = 3; this.treeView.TabIndex = 3;
this.treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView_AfterSelect); this.treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView_AfterSelect);
// //
@@ -91,7 +91,7 @@
// //
this.splitContainer1.Panel2.Controls.Add(this.webBrowser); this.splitContainer1.Panel2.Controls.Add(this.webBrowser);
this.splitContainer1.Size = new System.Drawing.Size(671, 465); this.splitContainer1.Size = new System.Drawing.Size(671, 465);
this.splitContainer1.SplitterDistance = 146; this.splitContainer1.SplitterDistance = 160;
this.splitContainer1.TabIndex = 4; this.splitContainer1.TabIndex = 4;
// //
// webBrowser // webBrowser
@@ -101,7 +101,8 @@
this.webBrowser.Location = new System.Drawing.Point(0, 0); this.webBrowser.Location = new System.Drawing.Point(0, 0);
this.webBrowser.MinimumSize = new System.Drawing.Size(20, 20); this.webBrowser.MinimumSize = new System.Drawing.Size(20, 20);
this.webBrowser.Name = "webBrowser"; this.webBrowser.Name = "webBrowser";
this.webBrowser.Size = new System.Drawing.Size(521, 465); this.webBrowser.ScrollBarsEnabled = false;
this.webBrowser.Size = new System.Drawing.Size(507, 465);
this.webBrowser.TabIndex = 0; this.webBrowser.TabIndex = 0;
// //
// panel1 // panel1

View File

@@ -3,7 +3,7 @@
<html> <html>
<head> <head>
<style> <style type="text/css">
body { background-color: black; margin: 0px; color: White; font-family: Cambria, Georgia, Times New Roman, Serif; font-size: 12pt } body { background-color: black; margin: 0px; color: White; font-family: Cambria, Georgia, Times New Roman, Serif; font-size: 12pt }
h1 { font-family: Cambria, Georgia, Times New Roman, Serif } h1 { font-family: Cambria, Georgia, Times New Roman, Serif }
h2, h3 { font-family: Helvetica, Arial, Sans-Serif } h2, h3 { font-family: Helvetica, Arial, Sans-Serif }
@@ -20,7 +20,6 @@
div#header div#header
{ {
margin-top: 30px; margin-top: 30px;
height: 66px;
text-align:center; text-align:center;
overflow:hidden; overflow:hidden;
} }
@@ -35,8 +34,10 @@
div#header h1 div#header h1
{ {
margin: auto auto; margin-left: auto;
padding-top:15px; margin-right: auto;
margin-bottom: 10px;
margin-top: 10px;
} }
div#content div#content

View File

@@ -20,7 +20,6 @@
div#header div#header
{ {
margin-top: 30px; margin-top: 30px;
height: 66px;
text-align:center; text-align:center;
overflow:hidden; overflow:hidden;
} }
@@ -35,8 +34,10 @@
div#header h1 div#header h1
{ {
margin: auto auto; margin-left: auto;
padding-top:15px; margin-right: auto;
margin-top: 10px;
margin-bottom: 10px;
} }
div#content div#content