Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vertical alignment #9

Open
rdm opened this issue May 4, 2022 · 0 comments
Open

vertical alignment #9

rdm opened this issue May 4, 2022 · 0 comments

Comments

@rdm
Copy link

rdm commented May 4, 2022

As my primary motivating example:

https://code.jsoftware.com/wiki/Guides/Window_Driver/ChildClasses#static

Create: wd'cc id static [staticbox] [left|right|center] [nowrap] [sunken|raised|panel]

Meanwhile, the linked qt documentation leads me to https://doc.qt.io/qt-5/qlabel.html#alignment-prop which says:

By default, the contents of the label are left-aligned and vertically-centered. (Testing shows that line feeds are respected here.)

Generally speaking, when working with text, it would also be desirable to be able to specify vertical alignment.

For example:

wd{{)n
  pc p closeok;
  cc t static;
  set t minwh 400 300;
  pshow;
  set t text *this is some text
hypothetically, it might represent a snapshot from a log
or something of that nature, where the total number
of lines is constrained but we do not know precisely
how many would be displayed visibly.
}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant