2021-07-29 Fred Gleason <fredg@paravelsystems.com>

* Corrected misaligned readout labels in the 'Edit Audio'
	('RDMarkerDialog') dialog.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-07-29 12:23:07 -04:00
parent 938f23e295
commit aa795566fa
2 changed files with 19 additions and 13 deletions

View File

@ -22114,3 +22114,6 @@
select any sample rate other than 32000. select any sample rate other than 32000.
2021-07-28 Fred Gleason <fredg@paravelsystems.com> 2021-07-28 Fred Gleason <fredg@paravelsystems.com>
* Added a '--enable-i18n-updates' switch to '.configure'. * Added a '--enable-i18n-updates' switch to '.configure'.
2021-07-29 Fred Gleason <fredg@paravelsystems.com>
* Corrected misaligned readout labels in the 'Edit Audio'
('RDMarkerDialog') dialog.

View File

@ -590,30 +590,33 @@ void RDMarkerPlayer::trimThresholdChanged(int dbfs)
void RDMarkerPlayer::resizeEvent(QResizeEvent *) void RDMarkerPlayer::resizeEvent(QResizeEvent *)
{ {
for(int i=0;i<RDMARKERPLAYER_READOUT_QUAN;i++) { for(int i=0;i<4;i++) {
d_readout_labels[i]->setGeometry(2, d_readout_labels[i]->
i*(d_cut_readout->sizeHint().height()/4-1), setGeometry(2,12+i*(d_cut_readout->sizeHint().height()/4),
15+50, 65,d_cut_readout->sizeHint().height()/4+1);
d_cut_readout->sizeHint().height()/4+1); }
for(int i=4;i<RDMARKERPLAYER_READOUT_QUAN;i++) {
d_readout_labels[i]->
setGeometry(2,14+i*(d_cut_readout->sizeHint().height()/4),
65,d_cut_readout->sizeHint().height()/4+1);
} }
d_cut_readout->setGeometry(70, d_cut_readout->
2+8, setGeometry(70,10,d_cut_readout->sizeHint().width(),
d_cut_readout->sizeHint().width(), d_cut_readout->sizeHint().height());
d_cut_readout->sizeHint().height());
d_talk_readout->setGeometry(70+1*(d_talk_readout->sizeHint().width()), d_talk_readout->setGeometry(70+d_talk_readout->sizeHint().width(),
2+8, 10,
d_talk_readout->sizeHint().width(), d_talk_readout->sizeHint().width(),
d_talk_readout->sizeHint().height()); d_talk_readout->sizeHint().height());
d_segue_readout->setGeometry(70+2*(d_segue_readout->sizeHint().width()), d_segue_readout->setGeometry(70+2*(d_segue_readout->sizeHint().width()),
2+8, 10,
d_segue_readout->sizeHint().width(), d_segue_readout->sizeHint().width(),
d_segue_readout->sizeHint().height()); d_segue_readout->sizeHint().height());
d_hook_readout->setGeometry(70+3*(d_hook_readout->sizeHint().width()), d_hook_readout->setGeometry(70+3*(d_hook_readout->sizeHint().width()),
2+8, 10,
d_hook_readout->sizeHint().width(), d_hook_readout->sizeHint().width(),
d_hook_readout->sizeHint().height()); d_hook_readout->sizeHint().height());