Skip to content

Allow specifying vertical alignment of text in label widgets #52

@squiddy

Description

@squiddy

Current behaviour

As you can see, currently text is always vertically centered. This is hardcoded here: https://github.com/fifengine/fifechan/blob/master/src/widgets/label.cpp#L134

2017-05-22-075619_1314x827_scrot

What I want

Be able to specify the vertical alignment, similar to what is possible with horizontal alignment right now.

setAlignment(top);
setAlignment(center);
setAlignment(bottom);

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