If you keep digging, it looks like TrackButtons::makeButton() is
asking for square buttons that are height x height. This makes sense
since they are round. If we make them rectangular, I assume they won't
really scale.
Then TrackLabel's ctor, only takes the height, but it scales the font
up as well, so the minimum width for 18 "X"'s becomes larger and larger,
thus increasing the width of the label.
As it is, the feature is mainly geared toward dealing with HiDPI
displays, so scaling everything is the right approach.
Sounds like you want tall tracks, but small buttons. It should be
possible to separate the two scale factors. Have one for the buttons
and one for the track height.
Ted.
On 11/14/24 6:39 AM, Lorenzo Sutton wrote:
Currently the track size preference when increased (i.e. from 'medium'
up) seems to make the track label and buttons 'wider' as well.
I saw this trying to add an 'extra large' track size to have tracks even
higher which still would comfortably fit (vertically speaking) 16 tracks
using a 194 scale factor (sizeFactor variable in TrackEditor::init) at a
1920x1080 resolution.
I'm wondering if it would be possible to de-couple width and height. In
the code I see that sizeFactor is in turn used for m_trackCellHeight
which as the name says would intuitively just change the height but then
the whole buttons + label part is increased?
Lorenzo
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel