slickR icon indicating copy to clipboard operation
slickR copied to clipboard

slickROutput(height = '50px') not respected

Open DavorJ opened this issue 4 years ago • 3 comments

Since the last version, the height parameter of slickROutput doesn't seem to work.

Here is an example:

image

The blue bounding box is 50px but as you see, the pictures are extended beyond it.

Workaround is to set '50px' in slickR(). But then, what is the point of height in slickROutput?

DavorJ avatar Sep 02 '20 12:09 DavorJ

Thanks for catching this. I'll look into it.

yonicd avatar Sep 02 '20 14:09 yonicd

You are correct. the way the underlying js code is written the widget size supersedes the container size it is in. to change this will take some refactoring. For the time being unfortunately you will have to control the size via the slickR function and not the output function.

yonicd avatar Sep 04 '20 20:09 yonicd

It seems that on the other hand the width argument is only taken into account when used in slickROutput not in slickR.

ismirsehregal avatar Feb 12 '21 08:02 ismirsehregal