[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem of released-button style mode-line

From: Miles Bader
Subject: Re: problem of released-button style mode-line
Date: Fri, 20 Oct 2000 15:39:14 +0900 (JST)

Kenichi Handa <address@hidden> writes:
> Is it possible to make one-line window at least has normal
> line height?

Perhaps someone know a more elegant solution (and if not, something's
got to be done for a future release), but what I've done in some code is
just always increase the requested window size by 1 if on a graphical
display, e.g., something like

  (let ((desired-win-size ...calculate-height-of-text...))
    (when (display-graphic-p)
      (setq desired-win-size (1+ desired-win-size)))
    ...make window with height desired-win-size...)

It works ok in practice.

Love is a snowmobile racing across the tundra.  Suddenly it flips over,
pinning you underneath.  At night the ice weasels come.  --Nietzsche

reply via email to

[Prev in Thread] Current Thread [Next in Thread]