feat: add control minimum width option
This commit is contained in:
@@ -27,6 +27,8 @@ export interface IControlBasic {
|
||||
conceptId?: string
|
||||
prefix?: string
|
||||
postfix?: string
|
||||
minWidth?: number
|
||||
underline?: boolean
|
||||
}
|
||||
|
||||
export type IControl = IControlBasic &
|
||||
|
||||
@@ -136,6 +136,7 @@ export interface IElementPosition {
|
||||
rowNo: number
|
||||
ascent: number
|
||||
lineHeight: number
|
||||
left: number
|
||||
metrics: IElementMetrics
|
||||
isFirstLetter: boolean
|
||||
isLastLetter: boolean
|
||||
|
||||
@@ -4,6 +4,7 @@ import { IElement, IElementMetrics } from './Element'
|
||||
export type IRowElement = IElement & {
|
||||
metrics: IElementMetrics
|
||||
style: string
|
||||
left?: number
|
||||
}
|
||||
|
||||
export interface IRow {
|
||||
|
||||
Reference in New Issue
Block a user