mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
More alignment fixes
This commit is contained in:
parent
47ecd75d7f
commit
7610179bc7
@ -69,6 +69,10 @@ FindAndReplaceWidget::FindAndReplaceWidget(GuiView & view)
|
|||||||
replace_work_area_->stopBlinkingCaret();
|
replace_work_area_->stopBlinkingCaret();
|
||||||
old_buffer_ = view_.documentBufferView() ?
|
old_buffer_ = view_.documentBufferView() ?
|
||||||
&(view_.documentBufferView()->buffer()) : 0;
|
&(view_.documentBufferView()->buffer()) : 0;
|
||||||
|
|
||||||
|
// align items on top
|
||||||
|
cbVerticalLayout->setAlignment(Qt::AlignTop);
|
||||||
|
pbVerticalLayout->setAlignment(Qt::AlignTop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -50,6 +50,9 @@ GuiSearch::GuiSearch(GuiView & lv)
|
|||||||
// fix height to minimum
|
// fix height to minimum
|
||||||
setFixedHeight(sizeHint().height());
|
setFixedHeight(sizeHint().height());
|
||||||
|
|
||||||
|
// align items in grid on top
|
||||||
|
mainGridLayout->setAlignment(Qt::AlignTop);
|
||||||
|
|
||||||
connect(buttonBox, SIGNAL(clicked(QAbstractButton *)),
|
connect(buttonBox, SIGNAL(clicked(QAbstractButton *)),
|
||||||
this, SLOT(slotButtonBox(QAbstractButton *)));
|
this, SLOT(slotButtonBox(QAbstractButton *)));
|
||||||
connect(findPB, SIGNAL(clicked()), this, SLOT(findClicked()));
|
connect(findPB, SIGNAL(clicked()), this, SLOT(findClicked()));
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>283</width>
|
<width>283</width>
|
||||||
<height>423</height>
|
<height>359</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
@ -100,7 +100,7 @@
|
|||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
<layout class="QVBoxLayout" name="cbVerticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="searchbackCB">
|
<widget class="QCheckBox" name="searchbackCB">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
@ -134,23 +134,10 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<spacer name="verticalSpacer_5">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Vertical</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>20</width>
|
|
||||||
<height>40</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
<layout class="QVBoxLayout" name="pbVerticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="findNextPB">
|
<widget class="QPushButton" name="findNextPB">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout_3">
|
<layout class="QGridLayout" name="gridLayout_3">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<layout class="QGridLayout" name="gridLayout_2">
|
<layout class="QGridLayout" name="mainGridLayout">
|
||||||
<item row="0" column="0" rowspan="2">
|
<item row="0" column="0" rowspan="2">
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
|
Loading…
Reference in New Issue
Block a user