How to accurately set size of items on a slide

Hi

I'm trying to design a course presentation and want to accurately and consistently place elements on slides - so a text box appears exactly the same size and place on every slide, for example. The problem is that using a mouse I cannot accurately set the size of items - the numbers jump by several pixels as I move the mouse. 

H5P allows me to set the position accurately by typing in the 'Position' coordinates - this is great :)

But when I try to do the same with the 'Size', H5P does not save the numbers I enter. When I click away from the item the numbers revert to whatever was there before. Am I doing something wrong? Is there a way to accurately set the size?

Thanks

Oli

 

 

 

Attachments: 
Content types: 
BV52's picture

Hi Oliver,

I tried reproducing this but I am unable to. Are you creating your content in H5P or a plugin?

-BV52

Hi

I've tried with a plugin (Wordpress) and on the H5P site - and tried both of these in both Chrome and Firefox. I still get the same problem.

I've attached a zip with a screenrecording of the problem I'm experiencing - hope this helps.

How is it supposed to work? Here's what I do:

I add a text box and put a word or two inside it. Then I click the Transform icon to open up the position and size numbers.

I change the Size numbers and the box size changes accordingly. But then when I press Enter on my keyboard or click onto a different part of the slide the numbers revert back to whatever they were before I edited them and the box size changes accordingly.  

I can drag the box to change its size ok - but cannot do this accurately to a pixel.

Thanks

Oli

fnoks's picture

Thank you for reporting this bug. There are some miscalculations probably because of the border which is present only in the editor. I have created an issue here: https://h5ptechnology.atlassian.net/browse/HFP-1293

In the meantime, the workaround will be to add 2 pixels to width & height when setting it manually.

Thank you, Fnoks!

"In the meantime, the workaround will be to add 2 pixels to width & height when setting it manually." A nice simple workaround :) don't know why I didn't figure this out for myself.

BV52's picture

Hi Oli,

Thank you for the screen cap. I was able to reproduce the issue using the pixel numbers that you used, I even tried going higher just to be sure. It may be by design but I have to double check the information for you. I'll get back to you asap.

-BV52

Many thanks for looking into this, BV52.

Greatly appreciated!

Oli