Next: Creating a new ECB-layout, Previous: Changing window sizes, Up: The ECB-layout [Contents][Index]

#### 6.8.4 Fixing the sizes of the special ECB-windows

GNU Emacs 21 introduced a new feature which can fix the sizes of a window displaying a certain buffer even after resizing the frame. This new feature is driven by the new buffer-local variable `window-size-fixed` 23.

ECB offers an option `ecb-fix-window-size` for fixing the sizes of the special ECB-windows/buffers even after frame-resizing. The fix type (valid values are `nil`, `t`, `width` and `height`) can either be set on a layout-basis (means a different value for each layout) or one value can be set for all layouts. In the latter case there is an additional value `auto` which choose autom. the senseful fix-type depending on the current layout-type: For top-layouts the fix-type `height` and for all other layout-types the fix-type `width`.

Probably the most senseful value is `auto` for all layouts because it makes less sense to fix the height of the ecb-windows in a left-, right- or leftright-layout. Same for fixing the width in a top-layout.

Note: With Emacs < 22 there seems to be no distinction between `width`, `height` and `t`. Therefore this option takes no effect (means all ecb-windows have always unfixed sizes) with Emacs < 22 if `ecb-compile-window-height` is not `nil`.

#### Footnotes

### (23)

Currently XEmacs does not support this feature therefore `ecb-fix-window-size` has no effect with XEmacs