Fixed overlapping of both Find Advanced and Spellchecker Dockwidgets (addressing #7375).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38133 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Tommaso Cucinotta 2011-03-29 20:51:40 +00:00
parent 970b240cb0
commit 8fd06ad27c
4 changed files with 12 additions and 6 deletions

View File

@ -60,7 +60,7 @@ static void ApplyParams(Buffer &buf, BufferParams const & bp) {
FindAndReplaceWidget::FindAndReplaceWidget(GuiView & view) FindAndReplaceWidget::FindAndReplaceWidget(GuiView & view)
: view_(view) : QTabWidget(&view), view_(view)
{ {
setupUi(this); setupUi(this);
find_work_area_->setGuiView(view_); find_work_area_->setGuiView(view_);

View File

@ -81,7 +81,7 @@ struct SpellcheckerWidget::Private
SpellcheckerWidget::SpellcheckerWidget(GuiView * gv, QWidget * parent) SpellcheckerWidget::SpellcheckerWidget(GuiView * gv, QWidget * parent)
: QWidget(parent), d(new Private(this)) : QTabWidget(parent), d(new Private(this))
{ {
d->ui.setupUi(this); d->ui.setupUi(this);
d->gv_ = gv; d->gv_ = gv;

View File

@ -25,7 +25,7 @@ class docstring_list;
namespace frontend { namespace frontend {
class SpellcheckerWidget : public QWidget class SpellcheckerWidget : public QTabWidget
{ {
Q_OBJECT Q_OBJECT

View File

@ -10,6 +10,12 @@
<height>342</height> <height>342</height>
</rect> </rect>
</property> </property>
<property name="minimumSize" >
<size>
<width>200</width>
<height>260</height>
</size>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>Spell Checker</string> <string>Spell Checker</string>
</property> </property>
@ -29,9 +35,9 @@
<item> <item>
<widget class="QComboBox" name="languageCO"> <widget class="QComboBox" name="languageCO">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
<horstretch>0</horstretch> <horstretch>100</horstretch>
<verstretch>0</verstretch> <verstretch>32</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip"> <property name="toolTip">