From 97fa4e77297887c457d7f932e1d7605cc340ed73 Mon Sep 17 00:00:00 2001 From: "cmanske%netscape.com" Date: Fri, 28 Apr 2000 14:06:34 +0000 Subject: [PATCH] More editor CSS and XUL cleanup. Use grid to control button widths in dialogs. [Grids rock!]. New text for Edit Mode buttons git-svn-id: svn://10.0.0.236/trunk@67534 18797224-902f-48f8-a5cc-f745e15eee43 --- .../ui/composer/content/EditorCommands.js | 2 +- .../ui/composer/content/EditorContent.css | 2 +- mozilla/editor/ui/composer/content/editor.xul | 2 +- .../ui/composer/content/editorOverlay.xul | 22 ++++++------ .../composer/locale/en-US/editorOverlay.dtd | 4 +-- .../ui/composer/skin/EditorToolbars.css | 35 +------------------ .../editor/ui/dialogs/content/EdLinkProps.xul | 28 ++++++++------- 7 files changed, 32 insertions(+), 63 deletions(-) diff --git a/mozilla/editor/ui/composer/content/EditorCommands.js b/mozilla/editor/ui/composer/content/EditorCommands.js index e59b6406dd8..1efd4e04704 100644 --- a/mozilla/editor/ui/composer/content/EditorCommands.js +++ b/mozilla/editor/ui/composer/content/EditorCommands.js @@ -1037,7 +1037,7 @@ function EditorSetDisplayMode(mode) editorShell.SetDisplayMode(mode); // Set the UI states - document.getElementById("WYSIWYGModeButton").setAttribute("selected",Number(mode == 0)); + document.getElementById("PreviewModeButton").setAttribute("selected",Number(mode == 0)); document.getElementById("NormalModeButton").setAttribute("selected",Number(mode == 1)); document.getElementById("TagModeButton").setAttribute("selected",Number(mode == 2)); contentWindow.focus(); diff --git a/mozilla/editor/ui/composer/content/EditorContent.css b/mozilla/editor/ui/composer/content/EditorContent.css index ce9434a565d..2d7e7e6cbbc 100644 --- a/mozilla/editor/ui/composer/content/EditorContent.css +++ b/mozilla/editor/ui/composer/content/EditorContent.css @@ -22,7 +22,7 @@ /* Styles to alter look of things in the Editor content window * for the "Normal Edit Mode" These settings will be removed - * when we display in completely WYSIWYG "Browser Preview" mode + * when we display in completely WYSIWYG "Edit Preview" mode * Anything that should never change, like cursors, should be * place in EditorOverride.css, instead of here. */ diff --git a/mozilla/editor/ui/composer/content/editor.xul b/mozilla/editor/ui/composer/content/editor.xul index ee421c8311c..c338634186c 100644 --- a/mozilla/editor/ui/composer/content/editor.xul +++ b/mozilla/editor/ui/composer/content/editor.xul @@ -195,10 +195,10 @@ - + diff --git a/mozilla/editor/ui/composer/content/editorOverlay.xul b/mozilla/editor/ui/composer/content/editorOverlay.xul index 63d49fa25ff..e0af2d0dd44 100644 --- a/mozilla/editor/ui/composer/content/editorOverlay.xul +++ b/mozilla/editor/ui/composer/content/editorOverlay.xul @@ -684,28 +684,28 @@ - - + + - - - - @@ -714,10 +714,10 @@