moveable icon indicating copy to clipboard operation
moveable copied to clipboard

How to use last circle to increse font size/scale text and right center circle to only resize control so use can wrap the text

Open JigarPrajpati opened this issue 3 years ago • 1 comments

How to use last circle to increse font size/scale text and right center circle to only resize control so use can wrap the text

image

JigarPrajpati avatar Sep 28 '22 08:09 JigarPrajpati

@JigarPrajpati Use resizable, scalable with renderdirections.

    resizable={{
                renderDirections: ["e", "w", "s", "n"],
            }}
            scalable={{
                renderDirections: ["nw", "ne", "se", "sw"],
            }}

daybrush avatar Sep 28 '22 13:09 daybrush

@daybrush how can we change the font size according to the scale?

acabreragnz avatar Oct 06 '22 07:10 acabreragnz

Dear sir it means when i press top or bottom circle as scalable, it should be scale a text, the sample you shared sir it just change width not actually scalable.

image

when i was using just do scalalbe = true and resiable = false than it's do perfect work as i want. see the result sir image

but i can't resize control width here, just scale only.

JigarPrajpati avatar Oct 06 '22 13:10 JigarPrajpati

@JigarPrajpati Not sure what do you mean with "can't resize control width here", but you have to set :scalable="true", :resizable="false" and also :render-directions="['nw','ne','se', 'sw']"

acabreragnz avatar Oct 06 '22 15:10 acabreragnz