Started to prepare the gui for runtime resolution switches.
(some little things could be missing yet though) svn-id: r22017
This commit is contained in:
parent
ec7e734adb
commit
30787714d3
20 changed files with 255 additions and 37 deletions
|
@ -446,6 +446,19 @@ void OptionsDialog::addVolumeControls(GuiObject *boss, String prefix) {
|
|||
_enableVolumeSettings = true;
|
||||
}
|
||||
|
||||
void OptionsDialog::handleScreenChanged() {
|
||||
Dialog::handleScreenChanged();
|
||||
|
||||
int labelWidth = g_gui.evaluator()->getVar("tabPopupsLabelW");
|
||||
|
||||
if (_midiPopUp)
|
||||
_midiPopUp->changeLabelWidth(labelWidth);
|
||||
if (_gfxPopUp)
|
||||
_gfxPopUp->changeLabelWidth(labelWidth);
|
||||
if (_renderModePopUp)
|
||||
_renderModePopUp->changeLabelWidth(labelWidth);
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue