Skip to content

Add the ability to zoom and scroll horizontally in the pattern editor#8335

Open
Itreza2 wants to merge 13 commits intoLMMS:masterfrom
Itreza2:b+b_editor-gui
Open

Add the ability to zoom and scroll horizontally in the pattern editor#8335
Itreza2 wants to merge 13 commits intoLMMS:masterfrom
Itreza2:b+b_editor-gui

Conversation

@Itreza2
Copy link
Copy Markdown
Contributor

@Itreza2 Itreza2 commented Mar 26, 2026

closes #7313

Add a zoom slider and an horizontal scroll bar in the pattern editor window, to make the editing of lengthy patterns easier in a small window.
image

During playback, the zoom level is set to 1 and the zoom controls are hidden. I made it this way for the sake of simplicity, but it can be changed latter if someone is courageous enough to dig deeper than I did.

To test this PR, simply open a pattern at least 2 bars long in the pattern editor.

Copy link
Copy Markdown
Contributor

@yohannd1 yohannd1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some style changes, mostly related to spacing around parentheses.

Comment thread include/PatternEditor.h Outdated
Comment thread include/PatternEditor.h Outdated
Comment thread include/PatternEditor.h Outdated
Comment thread include/PatternEditor.h Outdated
Comment thread include/PatternEditor.h Outdated
Comment thread src/gui/editors/PatternEditor.cpp Outdated
Comment thread src/gui/editors/PatternEditor.cpp Outdated
Comment thread src/gui/editors/PatternEditor.cpp Outdated
Comment thread src/gui/editors/PatternEditor.cpp Outdated
Comment thread src/gui/editors/PatternEditor.cpp Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add scrolling to the B + B editor to make it easier

2 participants