Browse Source

Pull request #3763: BI-158367 fix: 调整下SingleSelectSearchLoader里,SingleSelectRadioItem的文本间距

Merge in VISUAL/fineui from ~OLIVER.KE/fineui:master to master

* commit '403e0f10cf97ca04711c98ec9ba27a8db7396a89':
  BI-158367 fix: 调整下SingleSelectSearchLoader里,SingleSelectRadioItem的文本间距
master
Oliver.Ke-柯键基 2 months ago
parent
commit
6078e5031c
  1. 10
      packages/fineui/src/widget/singleselect/search/singleselect.search.loader.js

10
packages/fineui/src/widget/singleselect/search/singleselect.search.loader.js

@ -12,7 +12,7 @@ import {
isArray, isArray,
isKey, isKey,
Func, Func,
SIZE_CONSANTS SIZE_CONSANTS,
} from "@/core"; } from "@/core";
import { ButtonGroup, Loader } from "@/base"; import { ButtonGroup, Loader } from "@/base";
import { SingleSelectList } from "../singleselect.list"; import { SingleSelectList } from "../singleselect.list";
@ -71,7 +71,7 @@ export class SingleSelectSearchLoader extends Widget {
layouts: [ layouts: [
{ {
type: VerticalLayout.xtype, type: VerticalLayout.xtype,
} },
], ],
}, },
}, },
@ -122,11 +122,11 @@ export class SingleSelectSearchLoader extends Widget {
height: SIZE_CONSANTS.LIST_ITEM_HEIGHT, height: SIZE_CONSANTS.LIST_ITEM_HEIGHT,
selected: false, selected: false,
iconWrapperWidth: 26, iconWrapperWidth: 26,
hgap: o.allowNoSelect ? 10 : 0, textHgap: o.allowNoSelect ? 10 : 0,
title: item.title || item.text, title: item.title || item.text,
}, },
item item,
) ),
); );
} }

Loading…
Cancel
Save