04-10-2025, 04:32 AM
I think this would need to be something users can set per file, because it overrides many settings including:
leftmargin
rightmargin
pagewidth
stretchstaff
stretchlast
That, or I would have to modify the code not to remove the margins for users that still want to be able to have margins while forcing the score to stretch to the maximum amount while still respecting those margins. My current plan is to have an ABC settings dialog that can be accessed while an ABC file is loaded that lets you change properties for that ABC file, including the page scaling and margins. I could add a setting there to control if "fitbox" is used, but I then have to decide whether I would still honor those margin settings, or if I have to disable the margins while the fitbox setting is active. I'm open to feedback on this.
Mike
leftmargin
rightmargin
pagewidth
stretchstaff
stretchlast
That, or I would have to modify the code not to remove the margins for users that still want to be able to have margins while forcing the score to stretch to the maximum amount while still respecting those margins. My current plan is to have an ABC settings dialog that can be accessed while an ABC file is loaded that lets you change properties for that ABC file, including the page scaling and margins. I could add a setting there to control if "fitbox" is used, but I then have to decide whether I would still honor those margin settings, or if I have to disable the margins while the fitbox setting is active. I'm open to feedback on this.
Mike