Rework configuration dialog for TTS / Encoder values.

The generated dialogs for encoder and TTS configuration didn't scale well and were missing icons. Use a grid layout so buttons are aligned properly now, remove the fixed width for buttongs (which breaks immediately if a label text is getting too long, especially when using a translation).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23075 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2009-10-10 16:52:36 +00:00
parent 6be1d8b8a8
commit ef9dfb89b8
2 changed files with 25 additions and 20 deletions

View file

@ -54,7 +54,7 @@ private:
//! creates all dynamic window content
void setUpWindow();
//! creates the Widgets needed for one setting. returns a Layout with the widgets
QLayout* createWidgets(EncTtsSetting* setting);
QWidget* createWidgets(EncTtsSetting* setting);
//! creates a button when needed by the setting.
QWidget* createButton(EncTtsSetting* setting);
//! name of the Encoder or TTS for which this UI is