stretchForce works with the staveProfile values 3 or 4
See original GitHub issueExpected Results
stretchForce settings with all staveProfile values should work
Observed Results
If staveProfile is 1 or 2 (display with the scores), the stretchForce doesn’t affect the fitting
Steps to Reproduce (for bugs)
- I’ve added display settings to the sample final file https://www2.alphatab.net/docs/tutorial-web/player#final-file
display: { staveProfile: 1, stretchForce: 0.5 },
- stretchForce values less than 1 (I want to include more bars in the raw) works when staveProfile values are 3 - Tab 4 - TabMixed only.
Your environment (if applicable)
- Version used: https://www2.alphatab.net/docs/tutorial-web/player#final-file
- Platform used: JavaScript
- Rendering engine used: SVG (default),
- Browser Name and Version: Chrome Version 84.0.4147.135 (Official Build) (64-bit)
- Operating System and version (desktop or mobile): macOS 10.15.1 (19B88)
- Link to your project: local
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Employees Increasingly Seek Value and Purpose at Work
Employers take note: Talk of the “Great Resignation” ignores the fundamental change in people, who want more purpose in their lives, ...
Read more >Maker's Mark Private Selection | Premium Custom Bourbon
Beginning as fully matured Maker's Mark ® at cask strength, Private Selection is created by adding 10 custom wood finishing staves to each...
Read more >Unit 6: Work and Energy Hooke's Law and EPE Worksheet
Draw a force diagram for the box above when the spring is stretched, yet the box is stationary. b. What is the maximum...
Read more >Tensile Test Experiment | Michigan Technological University
We will look at a very easy experiment that provides lots of information about the strength or the mechanical behavior of a material,...
Read more >Section 14. SWOT Analysis: Strengths, Weaknesses ...
Learn how to conduct a SWOT Analysis to identify situational strengths and weaknesses, as well as opportunities and threats.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Phew. This issue turned out to be more effort than expected. 😅 I retested and checked in detail the spacing and sizing of notes and had to rework quite some bits. Now alphaTab really calculates correctly the required minimum widths of notes and ensures the right positioning of elements accordingly. This allows you to specify smaller stretch forces which allows you almost to squeeze notes that dense that there is no white-space between them anymore.
Also this rework results in some cases in a more dense layouting by default.
Awesome developer!