Issue #1781Opened February 8, 2019by kickbk0 reactions

add a font-size type prop

Question

I'm trying to create a font-size type of property that I would like to add to the dimensions sector. Doing this:

styleManager.addProperty('Dimension',{
	name: 'Icon Size',
	property: 'icon-size',
	type: 'integer',
	units: ['px', 'em', 'rem', '%']
});

Getting the value and all, but it's just showing an input box. Not one with the select option between the units. What am I doing wrong?

Answers (3)

no-response[bot]February 18, 20190 reactions

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

lock[bot]February 18, 20200 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.