From 7bdb3a8d48248c1f946f8021d24606ed3e32c68a Mon Sep 17 00:00:00 2001 From: congqiu Date: Mon, 18 May 2020 16:03:35 +0800 Subject: [PATCH] =?UTF-8?q?DEC-13302=20fix=EF=BC=9A=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=AD=90tab=E7=9A=84=E6=A0=87=E9=A2=98=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/title/title.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/modules/title/title.ts b/src/modules/title/title.ts index e448e81..26c2694 100644 --- a/src/modules/title/title.ts +++ b/src/modules/title/title.ts @@ -1,4 +1,4 @@ -import { LeftRightVerticalAdapt, LinearSegment, Tab } from 'ui'; +import { LeftRightVerticalAdapt, VerticalAdapt, LinearSegment, Tab } from 'ui'; import { shortcut, store } from '@core/core'; import { TitleModel, TitleModelXtype } from './title.model'; import { PAGE_INDEX } from '@constants/constant'; @@ -32,9 +32,12 @@ export class Title extends BI.Widget { left: [ { type: LinearSegment, + cls: 'bi-font-bold', height: 40, hgap: 10, - width: 250, + layouts: [{ + type: VerticalAdapt, + }], ref: (_ref: any) => { this.linearSegment = _ref; }, @@ -43,10 +46,12 @@ export class Title extends BI.Widget { text: BI.i18nText('Dec-Dcm_Connection_Management'), selected: true, value: PAGE_INDEX.CONNECTION, + hgap: 15, }, { text: BI.i18nText('Dec-Dcm_Pool_Connection_Management'), value: PAGE_INDEX.POOL, + hgap: 15, }, ], listeners: [{