Skip to content

toolbox title is cut by parent container #10951

@aterilio

Description

@aterilio
  • previous version (probably 2.0.2)

image1

  • lastest version (4.2.1)

image2

Version

4.2.1

Steps to reproduce

var option = {
	toolbox: {
		show: true,
		itemSize: 20,
		itemGap: 13,
		feature: {
			saveAsImage: {
				show: true,
				title: 'Save as Image'
			}
		}
	}
}

If I create a toolbox with the above options,
the title will be truncated and only 'Save as Im' will be shown.

In previous versions (see section 'GlobalRequire.version = '2.0.2', probably 2.0.2),
the position was adjusted appropriately and was not cut.

What is expected?

toolbox's title not to be truncated (appropriate positioning)

What is actually happening?

toolbox's title was cut (only visible 'Save as Im')


Additionally , I wanna set each different info for icon, iconStyle and emphasis in toolbox's magictype element..
(for now, I'm making a custom button and using it.)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions