~ubuntu-branches/debian/sid/ecb/sid

« back to all changes in this revision

Viewing changes to html-help/Changing-window-sizes.html

  • Committer: Bazaar Package Importer
  • Author(s): Joerg Jaspert
  • Date: 2004-02-16 23:16:24 UTC
  • Revision ID: james.westby@ubuntu.com-20040216231624-brlrnyp41twx033r
Tags: upstream-2.21
ImportĀ upstreamĀ versionĀ 2.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html lang="en">
 
2
<head>
 
3
<title>ECB - the Emacs Code Browser</title>
 
4
<meta http-equiv="Content-Type" content="text/html">
 
5
<meta name=description content="ECB - the Emacs Code Browser">
 
6
<meta name=generator content="makeinfo 4.2">
 
7
<link href="http://www.gnu.org/software/texinfo/" rel=generator-home>
 
8
</head>
 
9
<body>
 
10
<p>
 
11
Node:<a name="Changing%20window%20sizes">Changing window sizes</a>,
 
12
Next:<a rel=next accesskey=n href="Fixing-window-sizes.html#Fixing%20window%20sizes">Fixing window sizes</a>,
 
13
Previous:<a rel=previous accesskey=p href="Redrawing-the-ECB-layout.html#Redrawing%20the%20ECB-layout">Redrawing the ECB-layout</a>,
 
14
Up:<a rel=up accesskey=u href="The-ECB-layout.html#The%20ECB-layout">The ECB-layout</a>
 
15
<hr><br>
 
16
 
 
17
<h4>Changing the sizes of the special ECB-windows</h4>
 
18
 
 
19
<p>The standard width and height of the special ECB-windows is defined
 
20
with the options <code>ecb-windows-width</code> and
 
21
<code>ecb-windows-height</code>. But changing these options always
 
22
influences all layouts which is not always desired.
 
23
 
 
24
<p>ECB offers to re-adjust the width and height of the ECB-windows (e.g. by
 
25
dragging the windows-borders via the mouse) and then saving exactly
 
26
these current window-sizes for the current layout so after activating
 
27
this layout all windows have autom. the stored sizes.
 
28
 
 
29
<p>This is done via the option <code>ecb-layout-window-sizes</code> and the
 
30
commands <code>ecb-store-window-sizes</code>,
 
31
<code>ecb-restore-window-sizes</code> and
 
32
<code>ecb-restore-default-window-sizes</code>.
 
33
 
 
34
<p>Here is an example how to resize and store the sizes of the
 
35
ECB-windows of layout "left1":
 
36
 
 
37
<ol type=1 start=1>
 
38
</p><li>Switch to layout "left1" via <code>ecb-change-layout</code> (<kbd>C-c . lc</kbd>)
 
39
<li>Resize the ECB-windows by dragging the window-borders with the mouse
 
40
<li>Call <code>ecb-store-window-sizes</code>
 
41
</ol>
 
42
 
 
43
<p>After this layout "left1" will be always drawn with the new sizes
 
44
until you call <code>ecb-restore-default-window-sizes</code> during layout
 
45
"left1" is active.
 
46
 
 
47
<p><strong>Please note</strong>: <code>ecb-store-window-sizes</code> stores the width
 
48
and height of the windows per default as fractions of the width (rsp. 
 
49
height) of the ECB-frame, so the stored sizes are always correct
 
50
regardless of the current frame-size! But if called with a prefix
 
51
argument then fixed sizes are stored.
 
52
 
 
53
</body></html>
 
54