PZ-UI_API icon indicating copy to clipboard operation
PZ-UI_API copied to clipboard

ISSimpleTickBox: position can't be set

Open toomanynights opened this issue 1 year ago • 0 comments

Even though the documentation states that you can provide a position argument, the appropriate function doesn't process that second argument, leading to inability to manage tick box's position in a conventional manner.

It still can be managed, but it would require decorating / rewriting ISSimpleTickBox:setPositionAndSize() function.

On a side note, the mentioned function sets tickSize equal to the line's height (or width), which leads to further complications in positioning the element. Since the tickBox element itself is vanilla, it has a hard coded size of 16px. Setting that value to anything else leads to the tick box's "hitbox" being larger than the tick box itself, proving the attempts to position it futile (the invisible "hitbox" extension will also take up space).

toomanynights avatar Mar 03 '24 07:03 toomanynights