mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
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:
parent
970b240cb0
commit
8fd06ad27c
@ -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_);
|
||||
|
@ -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;
|
||||
|
@ -25,7 +25,7 @@ class docstring_list;
|
||||
|
||||
namespace frontend {
|
||||
|
||||
class SpellcheckerWidget : public QWidget
|
||||
class SpellcheckerWidget : public QTabWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user