diff options
-rw-r--r-- | svx/source/dialog/srchdlg.cxx | 1 | ||||
-rw-r--r-- | svx/source/form/labelitemwindow.cxx | 1 | ||||
-rw-r--r-- | svx/uiconfig/ui/findreplacedialog.ui | 11 | ||||
-rw-r--r-- | svx/uiconfig/ui/labelbox.ui | 2 |
4 files changed, 9 insertions, 6 deletions
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index b5cf7bcf34fd..b1c87a6db7c8 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -344,6 +344,7 @@ SvxSearchDialog::SvxSearchDialog(weld::Window* pParent, SfxChildWindow* pChildWi m_xSearchLabel->set_font_color(Color(0x00, 0x47, 0x85)); this->SetSearchLabel(""); // hide the message but keep the box height + m_xSearchIcon->set_size_request(24, 24); // vcl/res/infobar.png is 32x32 - too large here m_xReplaceTmplLB->make_sorted(); m_xReplaceAttrText->hide(); diff --git a/svx/source/form/labelitemwindow.cxx b/svx/source/form/labelitemwindow.cxx index bdff03e060f2..1ccbe6c5d156 100644 --- a/svx/source/form/labelitemwindow.cxx +++ b/svx/source/form/labelitemwindow.cxx @@ -19,6 +19,7 @@ LabelItemWindow::LabelItemWindow(vcl::Window* pParent, const OUString& rLabel) m_xLabel->set_label(rLabel); m_xImage->hide(); + m_xImage->set_size_request(24, 24); // vcl/res/infobar.png is 32x32 - too large here SetOptimalSize(); diff --git a/svx/uiconfig/ui/findreplacedialog.ui b/svx/uiconfig/ui/findreplacedialog.ui index 57a16e666a2f..e915a647f710 100644 --- a/svx/uiconfig/ui/findreplacedialog.ui +++ b/svx/uiconfig/ui/findreplacedialog.ui @@ -290,15 +290,16 @@ <object class="GtkImage" id="searchicon"> <property name="visible">True</property> <property name="can-focus">False</property> + <property name="valign">center</property> <property name="margin-start">6</property> <property name="margin-end">3</property> <property name="margin-top">3</property> <property name="margin-bottom">3</property> - <property name="icon-name">res/info.png</property> + <property name="icon-name">vcl/res/infobox.png</property> <child internal-child="accessible"> - <object class="AtkObject" id="searchicon-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" context="findreplacedialog|searchicon">Search icon</property> - </object> + <object class="AtkObject" id="searchicon-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" context="findreplacedialog|searchicon">Search icon</property> + </object> </child> </object> <packing> @@ -323,7 +324,7 @@ <property name="xalign">0</property> <child internal-child="accessible"> <object class="AtkObject" id="searchlabel-atkobject"> - <property name="AtkObject::accessible-role">notification</property> + <property name="AtkObject::accessible-role">notification</property> </object> </child> </object> diff --git a/svx/uiconfig/ui/labelbox.ui b/svx/uiconfig/ui/labelbox.ui index f77cd5da7f4e..29210661b91c 100644 --- a/svx/uiconfig/ui/labelbox.ui +++ b/svx/uiconfig/ui/labelbox.ui @@ -15,7 +15,7 @@ <property name="margin-start">6</property> <property name="margin-top">3</property> <property name="margin-bottom">3</property> - <property name="icon-name">res/info.png</property> + <property name="icon-name">vcl/res/infobox.png</property> </object> <packing> <property name="expand">False</property> |