Skip to content

LK Script progress bar does not resize to fit text #2122

@cpaulgilman

Description

@cpaulgilman

Describe the bug

The LK Script progress bar's Close button is hidden when text has more than two lines. For example, in Windows:

Image

To Reproduce

  1. Download and extract this LK script: lk-progressbar-size-test.zip
  2. Run the script and note dialog does not resize to fit text.

Expected behavior

Best solution would be to add size parameters to function so that the progressbar size can be set when the function is called. We want the progress dialog size to be static so it does not appear to move around the screen when the text changes.

Needs to work for Windows, Linux, and Macos, so pixel-based sizing is not ideal due to different font sizes across the platforms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions