Skip to content

UI library limitations #324

@dgdavid

Description

@dgdavid

JFYI, a few limitations found limitations when trying to make some yast2-users-ng UI mock-ups

  • Creating a column based grid using the HWeight widget it's a bad idea when you don't know the exactly length of labels. If they exceed the width reserved for the column, they will be cut. So,
  • Labels does not have auto wrapping
  • Input labels are always placed in above the input. There are no option to put them inline: the label on the left, the input on the right.
  • You can be tempted to use a Label and, for example, InputField combination achieve the above goal. Then, the label shortcut is missing in the terminal. In fact, you cannot assign a shorcut to a label... since the label is not aware to what input should belong.
  • The minimum input width is it's label length, which makes them looks quite ugly in some circunstances

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