From: Pankaj Jangid <pankaj@codeisgreat.org>
To: Emacs Developers <emacs-devel@gnu.org>
Subject: Splash screen alignment on wider frame layout
Date: Tue, 29 Sep 2020 11:58:37 +0530 [thread overview]
Message-ID: <m27dsd5c6i.fsf@codeisgreat.org> (raw)
Recently I have been experimenting with the width of my Emacs frame
using some code in the early-init.el file. This was inspired by the text
user interface (TUI )of one of my Debian laptops, that doesn't have a
graphical user interface. I wanted exactly same number of columns and
rows on my graphical as well as text user interfaces. This is what I
did,
--8<---------------cut here---------------start------------->8---
(setq default-frame-alist
'((height . 47) (width . 169) (left . 110)))
--8<---------------cut here---------------end--------------->8---
During this exercise, I found a tiny issue with the alignment of text
and Emacs logo in the welcome screen, *GNU Emacs* buffer (splash). I
think this can be improved.
I like the left aligned text on the TUI, irrespective of the frame
size. This gives me uniform experience on all the TUIs. Whether to keep
it left aligned or keep it left-aligned in the center of the frame; this
can be debated. But my following idea is about uniformity.
On graphical user interfaces (GUIs), Emacs displays a logo above the
welcome text. It is center aligned. This isn't an issue if we keep the
default frame width. But when we increase the frame-width, the logo
shifts → towards the center. But the text remains left-aligned. This
give a very odd impression.
Proposal:
There are two alternates that we can adopt.
(1) Keep both, the logo and the text, left-aligned on all frame sizes.
(2) Put both, the logo and the text, inside a box of max-width equal to
default frame-width. Keep the text left-aligned inside this box and keep
the logo center-aligned inside the box. If frame-width is increased move
→ the container box to the center of the frame. If the frame-width is
decreased reduce the width of box, keeping alignment attibutes same.
I prefer (1), this is much simpler to implement and gives uniform
experience on all screens - TUIs and GUIs.
Regards
--
Pankaj Jangid
GnuPG Fingerprint => 0B62 7424 3B26 A911 052A DDE6 7C95 6E6F F858 7689
reply other threads:[~2020-09-29 6:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m27dsd5c6i.fsf@codeisgreat.org \
--to=pankaj@codeisgreat.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.