[Libreoffice-commits] online.git: loleaflet/src

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri May 17 12:38:47 UTC 2019


 loleaflet/src/control/Control.Toolbar.js |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 8d359cedbe352659adbe79a201c5b4c149ea6817
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Fri May 17 14:12:56 2019 +0200
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Fri May 17 14:38:28 2019 +0200

    Statusbar search: Placeholder instead of label
    
    Matches the desktop layout and reduces clutter
    
    Change-Id: Ibbee6206281b37bbd9acaad23778389a20fe883f
    Reviewed-on: https://gerrit.libreoffice.org/72466
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/loleaflet/src/control/Control.Toolbar.js b/loleaflet/src/control/Control.Toolbar.js
index 14a762315..648eb338a 100644
--- a/loleaflet/src/control/Control.Toolbar.js
+++ b/loleaflet/src/control/Control.Toolbar.js
@@ -985,9 +985,8 @@ function initNormalToolbar() {
 			tooltip: 'top',
 			items: [
 				{type: 'html',  id: 'search',
-				 html: '<div style="padding: 3px 10px;" class="loleaflet-font">' +
-				 ' ' + _('Search:') +
-				 '    <input size="10" id="search-input"' +
+				 html: '<div style="padding: 3px 5px 3px 10px;" class="loleaflet-font">' +
+				 '<input size="15" id="search-input" placeholder="' + _('Search') + '"' +
 				 'style="padding: 3px; border-radius: 2px; border: 1px solid silver"/>' +
 				 '</div>'
 				},


More information about the Libreoffice-commits mailing list