adjust minimum height of faders (dependent on style), startup height of main windows should be higher now
This commit is contained in:
parent
7f9518bceb
commit
beea70ca01
3 changed files with 7 additions and 9 deletions
|
@ -24,10 +24,6 @@ TODO grouping does not work as expected:
|
||||||
- vertical space between check boxes should be smaller
|
- vertical space between check boxes should be smaller
|
||||||
- update help text
|
- update help text
|
||||||
|
|
||||||
TODO minimum height of faders (dependent on style)
|
|
||||||
- startup height of main windows should be higher now
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
3.5.6 (2020-06-09)
|
3.5.6 (2020-06-09)
|
||||||
|
|
|
@ -64,10 +64,9 @@ CChannelFader::CChannelFader ( QWidget* pNW )
|
||||||
plbrChannelLevel->setContentsMargins ( 0, 3, 2, 3 );
|
plbrChannelLevel->setContentsMargins ( 0, 3, 2, 3 );
|
||||||
|
|
||||||
// setup slider
|
// setup slider
|
||||||
pFader->setPageStep ( 1 );
|
pFader->setPageStep ( 1 );
|
||||||
pFader->setRange ( 0, AUD_MIX_FADER_MAX );
|
pFader->setRange ( 0, AUD_MIX_FADER_MAX );
|
||||||
pFader->setTickInterval ( AUD_MIX_FADER_MAX / 9 );
|
pFader->setTickInterval ( AUD_MIX_FADER_MAX / 9 );
|
||||||
pFader->setMinimumHeight ( 85 ); // if this value is too small, the fader might not be movable with the mouse for fancy skin (#292)
|
|
||||||
|
|
||||||
// setup panning control
|
// setup panning control
|
||||||
pPan->setRange ( 0, AUD_MIX_PAN_MAX );
|
pPan->setRange ( 0, AUD_MIX_PAN_MAX );
|
||||||
|
@ -205,6 +204,7 @@ void CChannelFader::SetGUIDesign ( const EGUIDesign eNewDesign )
|
||||||
|
|
||||||
pLabelGrid->addWidget ( plblLabel, 0, Qt::AlignVCenter ); // label next to icons
|
pLabelGrid->addWidget ( plblLabel, 0, Qt::AlignVCenter ); // label next to icons
|
||||||
pLabelInstBox->setMinimumHeight ( 52 ); // maximum hight of the instrument+flag pictures
|
pLabelInstBox->setMinimumHeight ( 52 ); // maximum hight of the instrument+flag pictures
|
||||||
|
pFader->setMinimumHeight ( 120 ); // if this value is too small, the fader might not be movable with the mouse for fancy skin (#292)
|
||||||
pPan->setFixedSize ( 50, 50 );
|
pPan->setFixedSize ( 50, 50 );
|
||||||
pPanLabel->setText ( tr ( "PAN" ) );
|
pPanLabel->setText ( tr ( "PAN" ) );
|
||||||
pcbMute->setText ( tr ( "MUTE" ) );
|
pcbMute->setText ( tr ( "MUTE" ) );
|
||||||
|
@ -216,6 +216,7 @@ void CChannelFader::SetGUIDesign ( const EGUIDesign eNewDesign )
|
||||||
case GD_SLIMFADER:
|
case GD_SLIMFADER:
|
||||||
pLabelPictGrid->addWidget ( plblLabel, 0, Qt::AlignHCenter ); // label below icons
|
pLabelPictGrid->addWidget ( plblLabel, 0, Qt::AlignHCenter ); // label below icons
|
||||||
pLabelInstBox->setMinimumHeight ( 84 ); // maximum hight of the instrument+flag+label
|
pLabelInstBox->setMinimumHeight ( 84 ); // maximum hight of the instrument+flag+label
|
||||||
|
pFader->setMinimumHeight ( 85 );
|
||||||
pPan->setFixedSize ( 28, 28 );
|
pPan->setFixedSize ( 28, 28 );
|
||||||
pFader->setTickPosition ( QSlider::NoTicks );
|
pFader->setTickPosition ( QSlider::NoTicks );
|
||||||
pFader->setStyleSheet ( "" );
|
pFader->setStyleSheet ( "" );
|
||||||
|
@ -232,6 +233,7 @@ void CChannelFader::SetGUIDesign ( const EGUIDesign eNewDesign )
|
||||||
pFader->setStyleSheet ( "" );
|
pFader->setStyleSheet ( "" );
|
||||||
pLabelGrid->addWidget ( plblLabel, 0, Qt::AlignVCenter ); // label next to icons
|
pLabelGrid->addWidget ( plblLabel, 0, Qt::AlignVCenter ); // label next to icons
|
||||||
pLabelInstBox->setMinimumHeight ( 52 ); // maximum hight of the instrument+flag pictures
|
pLabelInstBox->setMinimumHeight ( 52 ); // maximum hight of the instrument+flag pictures
|
||||||
|
pFader->setMinimumHeight ( 85 );
|
||||||
pPan->setFixedSize ( 50, 50 );
|
pPan->setFixedSize ( 50, 50 );
|
||||||
pPanLabel->setText ( tr ( "Pan" ) );
|
pPanLabel->setText ( tr ( "Pan" ) );
|
||||||
pcbMute->setText ( tr ( "Mute" ) );
|
pcbMute->setText ( tr ( "Mute" ) );
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>345</width>
|
<width>345</width>
|
||||||
<height>465</height>
|
<height>490</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
|
|
Loading…
Reference in a new issue