Skip to content

Resizing Issues Near Minimum Size Boundaries #367

@cwitkowitz

Description

@cwitkowitz

For models with input controls (i.e., sliders, toggles, dropdowns, or textboxes), the constrained minimum window size often cuts off some of the track area. This seems to originate from ModelTab::getMinimumRequiredHeightForWidth undershooting the correct height.

Image

The behavior is also pretty inconsistent, with the exact cutoff varying upon repeated launches or model loading. Sometimes (not always), hiding the status panel and/or media clipboard can fix the issue. It may also have to do with when the controls extend past one line.

Image Image

It's possible MainComponent::updateWindowConstraints must be called whenever the number of control lines changes. However, it can still happen with a single line:

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Bugs

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions