From 4c685a9a471e325915af3316ce3899f4ebf28f15 Mon Sep 17 00:00:00 2001 From: "sfraser%netscape.com" Date: Fri, 2 Apr 1999 00:03:04 +0000 Subject: [PATCH] Change to use the new box layout, so that we get a toolbar that sticks to the bottom of the window. --- xpfe/AppCores/xul/EditorAppShell.xul | 97 ++++++++++++---------------- 1 file changed, 40 insertions(+), 57 deletions(-) diff --git a/xpfe/AppCores/xul/EditorAppShell.xul b/xpfe/AppCores/xul/EditorAppShell.xul index 347ac06b90c..e6097fc673d 100755 --- a/xpfe/AppCores/xul/EditorAppShell.xul +++ b/xpfe/AppCores/xul/EditorAppShell.xul @@ -1,51 +1,12 @@ + - - - - #header { - position: fixed; - width: 100%; - height: 75px; - top: 0; - right: 0; - bottom: auto; - left: 0; - } - #main { - position: fixed; - width: auto; - height: auto; - top: 75px; - right: 0; - bottom: 34px; - left: 0; - overflow: auto; - padding: 2px .5em; - border: solid 0px black; - } - #footer { - position: fixed; - width: 100%; - height: 34px; - top: auto; - right: 0; - bottom: 0; - left: 0; - margin-top: auto; - } - - button { - background-color: green; - color: red; - } - - + onload="Startup()" title="Editor"> function Startup() @@ -58,17 +19,17 @@ appCore = new EditorAppCore(); if (appCore != null) { dump("EditorAppCore has been created.\n"); - appCore.Init("EditorAppCore"); - appCore.setContentWindow(window.frames[0]); - appCore.setWebShellWindow(window); - appCore.setToolbarWindow(window); - dump("Adding EditorAppCore to AppCoreManager...\n"); - XPAppCoresManager.Add(appCore); + appCore.Init("EditorAppCore"); + appCore.setContentWindow(window.frames[0]); + appCore.setWebShellWindow(window); + appCore.setToolbarWindow(window); + dump("Adding EditorAppCore to AppCoreManager...\n"); + /* XPAppCoresManager.Add(appCore); */ } } else { dump("EditorAppCore has already been created! Why?\n"); } - } + } function EditorBold() { @@ -298,7 +259,7 @@ - + @@ -370,16 +331,38 @@ --> - - - - + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +