Browse Source

BI-139188 feat: 【ParusBI】 search_editor的布局改成自适应的

research/test
翠屏山最速下山传说 6 months ago
parent
commit
eaab264a4c
  1. 7
      packages/fineui/src/widget/editor/editor.search.js

7
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,

Loading…
Cancel
Save