mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-22 16:09:06 +00:00
Qt: Prevent Sliders from resizing due to text changing in their label.
This commit is contained in:
parent
52806b3dc8
commit
d69056aab4
2 changed files with 14 additions and 0 deletions
|
@ -180,6 +180,7 @@ void AudioPane::CreateWidgets()
|
|||
|
||||
// Set initial value display
|
||||
audio_buffer_size_label->setText(tr("%1 ms").arg(audio_buffer_size->value()));
|
||||
audio_buffer_size_label->setFixedWidth(QFontMetrics(font()).boundingRect(tr(" 000 ms")).width());
|
||||
|
||||
m_audio_fill_gaps = new ConfigBool(tr("Fill Audio Gaps"), Config::MAIN_AUDIO_FILL_GAPS);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue