mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +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)
|
FindAndReplaceWidget::FindAndReplaceWidget(GuiView & view)
|
||||||
: view_(view)
|
: QTabWidget(&view), view_(view)
|
||||||
{
|
{
|
||||||
setupUi(this);
|
setupUi(this);
|
||||||
find_work_area_->setGuiView(view_);
|
find_work_area_->setGuiView(view_);
|
||||||
|
@ -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;
|
||||||
|
@ -25,7 +25,7 @@ class docstring_list;
|
|||||||
|
|
||||||
namespace frontend {
|
namespace frontend {
|
||||||
|
|
||||||
class SpellcheckerWidget : public QWidget
|
class SpellcheckerWidget : public QTabWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user