Skip to content

vertical alignment #9

@rdm

Description

@rdm

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.
}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions