|
|
@ -10,7 +10,7 @@ import { |
|
|
|
Controller, |
|
|
|
Controller, |
|
|
|
Events, |
|
|
|
Events, |
|
|
|
HTapeLayout, |
|
|
|
HTapeLayout, |
|
|
|
isEndWithBlank |
|
|
|
isEndWithBlank, HorizontalFillLayout |
|
|
|
} from "@/core"; |
|
|
|
} from "@/core"; |
|
|
|
import { IconButton, Editor, IconLabel } from "@/base"; |
|
|
|
import { IconButton, Editor, IconLabel } from "@/base"; |
|
|
|
|
|
|
|
|
|
|
@ -87,14 +87,15 @@ export class SearchEditor extends Widget { |
|
|
|
createWidget({ |
|
|
|
createWidget({ |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
height: toPix(o.height, o.simple ? 1 : 2), |
|
|
|
height: toPix(o.height, o.simple ? 1 : 2), |
|
|
|
type: HTapeLayout.xtype, |
|
|
|
type: HorizontalFillLayout.xtype, |
|
|
|
|
|
|
|
columnSize: ["", "fill", ""], |
|
|
|
items: [ |
|
|
|
items: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
el: { |
|
|
|
el: { |
|
|
|
type: IconLabel.xtype, |
|
|
|
type: IconLabel.xtype, |
|
|
|
cls: "search-font", |
|
|
|
cls: "search-font", |
|
|
|
|
|
|
|
width: 24, |
|
|
|
}, |
|
|
|
}, |
|
|
|
width: 24, |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
el: this.editor, |
|
|
|
el: this.editor, |
|
|
|