Skip to content

Ui::vertical_centered is not centered #222

@RazrFalcon

Description

@RazrFalcon

Ui::vertical_centered not always place the widget in the center.

In the demo app, it can be reproduced by resizing the Windows Options dialog.

To Reproduce
Steps to reproduce the behavior:

  1. Create a widget using Ui::vertical_centered
  2. Resize the parent layout

Expected behavior

The layout content should be centered.

Screenshots

1615376113

Desktop (please complete the following information):

  • OS: Linux

egui version: 07a17dc

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions