diff --git a/src/gui/findwidget.cpp b/src/gui/findwidget.cpp index 626234f4..8f81f454 100644 --- a/src/gui/findwidget.cpp +++ b/src/gui/findwidget.cpp @@ -160,8 +160,7 @@ void FindWidget::setReplaceVisible(bool show) // We don't want to use a wrapping frame here due to layouting issues... ui->replaceWithLabel->setVisible(show); ui->replaceEdit->setVisible(show); - ui->replaceAllbutton->setVisible(show); - ui->replaceButton->setVisible(show); + ui->replaceButtonWidget->setVisible(show); } } // namespace Gui diff --git a/src/gui/findwidget.ui b/src/gui/findwidget.ui index 74b64b65..9305dcb8 100644 --- a/src/gui/findwidget.ui +++ b/src/gui/findwidget.ui @@ -6,11 +6,14 @@ 0 0 - 844 - 53 + 675 + 51 + + QLayout::SetMinimumSize + 6 @@ -29,6 +32,74 @@ + + + + + + + Find: + + + + + + + Replace with: + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Replace + + + true + + + + + + + Replace All + + + true + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + @@ -76,60 +147,6 @@ - - - - - - - - - Replace - - - true - - - - - - - Replace All - - - true - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - Replace with: - - - - - - - Find: - - - @@ -137,8 +154,6 @@ replaceEdit previousButton nextButton - replaceButton - replaceAllbutton closeButton