Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed clipping and added text truncation for Action blocks #247

Merged
merged 1 commit into from
May 16, 2023

Conversation

elsoazemelet
Copy link
Contributor

On smaller displays, some action blocks input field title is to long to be rendered in one line, causing the misalignment of the layout of these action blocks.

This fix contains the truncation of these titles, meaning when a title is too long, the title will be rendered in the following pattern:

"Some Long Input Field Title" ⟶ "Some Long In...". 

The layout is intact on smaller displays.

A new issue was found during testing, this PR contains the fix for that too.
The issue is that the layout of some action blocks was coded poorly, and the automatic layout resizing had a implicitly defined minimum size. When the width of the Config menu was smaller than this minimum width of the action block, the action block "broke out" of the Config menu. See the following image:

image

The layout of MIDI MIDI14 and KeyboardMacro action blocks were reworked.

@elsoazemelet elsoazemelet merged commit 47ad92a into stable May 16, 2023
@narayb
Copy link
Collaborator

narayb commented May 17, 2023

The tested Action Blocks now all truncate text properly and it doesn't affect the placement of text boxes anymore.

@elsoazemelet elsoazemelet deleted the bug/BoxAlignment branch July 10, 2023 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants