Mixer improvement with QSS

Forums

By stretching the mixer high, the undesirable thing would be that only the plugin box would be expanded.

Reasons:
1. Avoid hidden plugins
2. Allows the midi volume indicators to not be uneven with respect to the audio, leaving the 0db reference on the same line.

This simple QSS code does the miracle

qtractorMixer qtractorMixerStrip QWidget {
max-height: 235px;
}

Permalink

This can expose issues with how the track names are rendered in the mixer strips. As you can see, the track with the newline and text on the second line is out of whack.
mixer-track-names
tracks
Rui, any chance the names can be rendered using only the text on the first line up to the newline (if present) and then centered? The full formatted string is always still available via the hover anyway so I can't see the proposed change being disruptive.

you should make the style-sheet more specific to the target widgets instead.
taking from the above example the max-height attribute applies to ALL QWidget's in a mixer-strip, which of course includes the QLabel one that displays the track or bus title.

I will try to resolve that issue.
In any case, don't you think that this should be the default behavior of the mixer?
I don't find any drawbacks, and there are improvements.

qtractorMixer qtractorMixerStrip qtractorAudioMixerMeter,
qtractorMixer qtractorMixerStrip qtractorMidiMixerMeter {
max-height: 230px;
}

With this configuration it allows a minimum space of the plugin box if it is not being used and hide the lower db/% indicator while it is not needed, gaining some more space.

qtractorMixer qtractorMixerStrip qtractorAudioMixerMeter,
qtractorMixer qtractorMixerStrip qtractorMidiMixerMeter {
max-height: 230px;
min-height: 230px;
}

File attachments

maybe this old automatic layout feature might be at stake?... for the better or worse?
@bluebell, I know you're a proud user of this multi-row layout... does it break anything to your side? ofc. you're free for not taking the suggested style-sheet(*.qss) as standard, though having your opinion would be awesome...if it breaks anything on you, just unload the qss to none and your're back to safety ground, hopefully ;)
cheers

Add new comment

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.