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>
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>
17
<h4>Changing the sizes of the special ECB-windows</h4>
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.
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.
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>.
34
<p>Here is an example how to resize and store the sizes of the
35
ECB-windows of layout "left1":
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>
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
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.