Commit efe8cdda authored by Kathleen Brade's avatar Kathleen Brade
Browse files

Use larger font size and smaller dialogs on Windows.

parent 8c55331b
......@@ -58,6 +58,10 @@ var gRestoreAfterHelpPanelID = null;
function initDialog()
{
var isWindows = TorLauncherUtil.isWindows;
if (isWindows)
document.documentElement.setAttribute("class", "os-windows");
var forAssistance = document.getElementById("forAssistance");
if (forAssistance)
{
......@@ -71,7 +75,7 @@ function initDialog()
{
if (cancelBtn)
{
var quitKey = (TorLauncherUtil.isWindows) ? "quit_win" : "quit";
var quitKey = isWindows ? "quit_win" : "quit";
cancelBtn.label = TorLauncherUtil.getLocalizedString(quitKey);
}
......
......@@ -11,6 +11,11 @@ dialog {
font: -moz-dialog;
}
dialog.os-windows {
width: 540px;
height: 435px;
}
wizard {
width: 540px;
height: 440px;
......@@ -18,6 +23,11 @@ wizard {
padding-top: 0px;
}
wizard.os-windows {
width: 490px;
height: 420px;
}
.wizard-page-box {
padding: 0px;
margin: 20px;
......@@ -111,3 +121,11 @@ dialog .help {
.help description.endOfHelp {
margin-bottom: 0px;
}
/* Increase font size on Windows for readability */
.os-windows label,
.os-windows description,
.os-windows textbox
{
font-size: 120%;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment