all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Frame shifted upwards upon changing font size
@ 2022-09-13  4:27 uzibalqa
  2022-09-13 11:29 ` Eli Zaretskii
  0 siblings, 1 reply; 26+ messages in thread
From: uzibalqa @ 2022-09-13  4:27 UTC (permalink / raw)
  To: uzibalqa via Users list for the GNU Emacs text editor


I have a setup that opens emacs at the centre of the screen.

But then I want to have a specific font size and call

(set-face-attribute 'default nil :height 160 :weight 'bold)

This puts the menu-bar outside the screen.  What can I do to keep the window at the
center of the screen?

This is the function I use

(defun xframe ()
  "Emacs Startup prior to setting a Development Theme"

  (typex-inhibit-startup-windows)
  (set-face-attribute 'default nil :height 160 :weight 'bold)
  (setq initial-frame-alist '((width . 75) (height . 21)) )






^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2022-09-15 16:27 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-13  4:27 Frame shifted upwards upon changing font size uzibalqa
2022-09-13 11:29 ` Eli Zaretskii
2022-09-13 12:10   ` uzibalqa
2022-09-13 12:25     ` uzibalqa
2022-09-13 13:22       ` Gregory Heytings
2022-09-13 13:45         ` uzibalqa
2022-09-13 13:53           ` Gregory Heytings
2022-09-13 13:57             ` uzibalqa
2022-09-13 15:28               ` Gregory Heytings
2022-09-13 21:07                 ` uzibalqa
2022-09-14 10:10                   ` Robert Pluim
2022-09-14 15:09                     ` uzibalqa
2022-09-15  7:17                       ` Robert Pluim
2022-09-15 11:43                         ` uzibalqa
2022-09-15 12:25                           ` Robert Pluim
2022-09-15 13:38                             ` Po Lu
2022-09-15 15:09                           ` Pascal Quesseveur
2022-09-15 16:07                             ` Yuri Khan
2022-09-15 16:27                               ` Pascal Quesseveur
2022-09-14 10:30                   ` Po Lu
2022-09-14 15:07                     ` uzibalqa
2022-09-14 15:21                     ` Christopher Dimech
2022-09-13 12:29     ` Eli Zaretskii
2022-09-13 12:40       ` uzibalqa
2022-09-13 13:03         ` Eli Zaretskii
2022-09-13 13:15           ` uzibalqa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.