Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSimpleTickBox: position can't be set #11

Open
toomanynights opened this issue Mar 3, 2024 · 0 comments
Open

ISSimpleTickBox: position can't be set #11

toomanynights opened this issue Mar 3, 2024 · 0 comments

Comments

@toomanynights
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant