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)
: view_(view)
: QTabWidget(&view), view_(view)
{
setupUi(this);
find_work_area_->setGuiView(view_);

View File

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

View File

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

View File

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