mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 07:42:02 +00:00
* src/frontends/qt4/QCharacter.C:
- fix dialog resizing for QT >= 4.2 (bug 3032). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16390 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6c8c421c21
commit
72bb51b0fc
@ -405,13 +405,13 @@ CREDITS:
|
||||
FIXED (JSpitzm-2006-11-06): force updateGeometry() after the panelstack has
|
||||
been created (with Qt >= 4.2 only). A brute method, but it works.
|
||||
|
||||
* If you open Edit>Test Style... for the first time, the choice text for
|
||||
* If you open Edit>Text Style... for the first time, the choice text for
|
||||
"Never Toggled>Size" doesn't fit in the selection box (note that in German,
|
||||
texts are a bit longer than in English). Interestingly, if you invoke the
|
||||
dialog a second time, its button sizes are adjusted to their content.
|
||||
This happens with qt >= 4.2 only, it does not happen with 4.1.4/4.1.5!
|
||||
|
||||
WONTFIX: This happens with qt >= 4.2 only, it does not happen with 4.1.4/4.1.5!
|
||||
(or maybe try to add an updateGeometry() call somewhere as well; JSpitzm).
|
||||
FIXED (2006-12-24 JSpitzm)
|
||||
|
||||
* All label and button texts in the Qt4 dialogs are not translated.
|
||||
|
||||
|
@ -90,6 +90,12 @@ void QCharacter::build_dialog()
|
||||
bcview().addReadOnly(dialog_->colorCO);
|
||||
bcview().addReadOnly(dialog_->toggleallCB);
|
||||
bcview().addReadOnly(dialog_->autoapplyCB);
|
||||
|
||||
// FIXME: hack to work around resizing bug in Qt >= 4.2
|
||||
#if QT_VERSION >= 0x040200
|
||||
// qt resizes the comboboxes only after show(), so ...
|
||||
dialog_->show();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user