Browse Source

Pull request #3711: BI-139188 feat: 【ParusBI】

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit 'eaab264a4c2e873b4d23565a4dbcb911807f771b':
  BI-139188 feat: 【ParusBI】 search_editor的布局改成自适应的
  BI-139188 feat: 【ParusBI】 深色模式下树控件样式补齐
research/test
Dailer-刘荣歆 1 year ago
parent
commit
28183248e0
  1. 4
      packages/fineui/src/less/base/tree/ztree.less
  2. 7
      packages/fineui/src/widget/editor/editor.search.js

4
packages/fineui/src/less/base/tree/ztree.less

@ -272,7 +272,9 @@
}
.bi-theme-dark {
.ztree.solid li span.button.center_docu, .ztree.solid li span.button.bottom_docu {
.ztree.solid li span.button.center_docu, .ztree.solid li span.button.bottom_docu,.ztree.solid li span.button.roots_docu {
background: none;
&:before {
border-right: 1px solid @border-color-dark-gray-line-theme-dark;
}

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