Zero horizontal and vertical offsets.

Asked by Azat Razetdinov on 2008-09-14

Sincerely, it's very frustrating that one can't submit zeros for horizontal and vertical offsets. This option may be recommended, but it shouldn't be dictated. Apart of that, it would be more convenient to suggest a “Maximum column height” field instead of “Wrap columns” tick.

Question information

English Edit question
CSS Sprite Generator Edit question
No assignee Edit question
Solved by:
Ed Eliot
Last query:
Last reply:
Revision history for this message
Best Ed Eliot (ejeliot) said :

The validation routine for those fields sees 0 the same as not entering a value. That's probably a bug (certainly an offset of 1px should work). I'll look at fixing the validation routine.

Your suggestion of having a max column height field instead of a checkbox is an interesting one. I implemented a checkbox as it removed the need to understand the specific browser issue being addressed but I'll have a think about whether or not your suggestion would be better. Technically, it's not an issue to implement.

Revision history for this message
Azat Razetdinov (razetdinov) said :

Thanks Ed Eliot, that solved my question.