jQCloud icon indicating copy to clipboard operation
jQCloud copied to clipboard

I can't change the width and height to adapt content to the box

Open Laev opened this issue 7 years ago • 5 comments

Laev avatar Jul 28 '17 11:07 Laev

get it ! I changed the jqcloud.js in step to make each text space larger to fit the size of the box

Laev avatar Aug 01 '17 08:08 Laev

Hi I have been looking for the same thing. I'd really appreciate if you could help me to do the same. Thanks in advance.

pranshu1995 avatar Sep 22 '17 09:09 pranshu1995

Hello, you can go to change the value of step in ‘ jqcloud.js’ Probably in this position var step = (options.shape === "rectangular") ? 18.0 : 2.0,

Laev avatar Sep 25 '17 15:09 Laev

But this takes an integer value. I want to make sure that my jqcloud is taking the size of the whole container , like percentage values. Is that possible?

pranshu1995 avatar Sep 27 '17 05:09 pranshu1995

I can only think of that now. You can test different values again and again until you're satisfied, but sometimes you need to notice that some labels might overflow the box

Laev avatar Sep 27 '17 12:09 Laev