From eaab264a4c2e873b4d23565a4dbcb911807f771b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0=E5=B1=8F=E5=B1=B1=E6=9C=80=E9=80=9F=E4=B8=8B?= =?UTF-8?q?=E5=B1=B1=E4=BC=A0=E8=AF=B4?= Date: Tue, 19 Dec 2023 20:19:54 +0800 Subject: [PATCH] =?UTF-8?q?BI-139188=20feat:=20=E3=80=90ParusBI=E3=80=91?= =?UTF-8?q?=20search=5Feditor=E7=9A=84=E5=B8=83=E5=B1=80=E6=94=B9=E6=88=90?= =?UTF-8?q?=E8=87=AA=E9=80=82=E5=BA=94=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/widget/editor/editor.search.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/fineui/src/widget/editor/editor.search.js b/packages/fineui/src/widget/editor/editor.search.js index e0387b342..327d9464f 100644 --- a/packages/fineui/src/widget/editor/editor.search.js +++ b/packages/fineui/src/widget/editor/editor.search.js @@ -10,7 +10,7 @@ import { Controller, Events, HTapeLayout, - isEndWithBlank + isEndWithBlank, HorizontalFillLayout } from "@/core"; import { IconButton, Editor, IconLabel } from "@/base"; @@ -87,14 +87,15 @@ export class SearchEditor extends Widget { createWidget({ element: this, height: toPix(o.height, o.simple ? 1 : 2), - type: HTapeLayout.xtype, + type: HorizontalFillLayout.xtype, + columnSize: ["", "fill", ""], items: [ { el: { type: IconLabel.xtype, cls: "search-font", + width: 24, }, - width: 24, }, { el: this.editor,