if after a resize of the main window a vertical scroll bar is required, make sure that the fader label is visible (scroll down completely)
This commit is contained in:
parent
98aecb1d26
commit
f580215605
2 changed files with 10 additions and 0 deletions
|
@ -692,6 +692,14 @@ void CAudioMixerBoard::SetPanIsSupported()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CAudioMixerBoard::resizeEvent ( QResizeEvent* event )
|
||||||
|
{
|
||||||
|
// if after a resize of the main window a vertical scroll bar is required, make
|
||||||
|
// sure that the fader label is visible (scroll down completely)
|
||||||
|
ensureVisible ( 0, 2000 ); // use a large value here
|
||||||
|
QScrollArea::resizeEvent ( event );
|
||||||
|
}
|
||||||
|
|
||||||
void CAudioMixerBoard::HideAll()
|
void CAudioMixerBoard::HideAll()
|
||||||
{
|
{
|
||||||
// make all controls invisible
|
// make all controls invisible
|
||||||
|
|
|
@ -158,6 +158,8 @@ public:
|
||||||
int iNewClientFaderLevel;
|
int iNewClientFaderLevel;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
void resizeEvent ( QResizeEvent* event );
|
||||||
|
|
||||||
bool GetStoredFaderSettings ( const CChannelInfo& ChanInfo,
|
bool GetStoredFaderSettings ( const CChannelInfo& ChanInfo,
|
||||||
int& iStoredFaderLevel,
|
int& iStoredFaderLevel,
|
||||||
int& iStoredPanValue,
|
int& iStoredPanValue,
|
||||||
|
|
Loading…
Reference in a new issue