Hot answers tagged

12

Normally you cannot measure letter spacing in pixels, unless there is some special circumstance. First, each font has a different spacing. Second, the spacing is different for each letter in most fonts. So the most prudent action to take is 0 is as set by font and all else is relative change for that value. The change is number of pixels but the spacing ...


9

This is called kerning and just like joojaa said, it's different on every font, UNLESS you are using monospace fonts. In this case, just get the font you're using and simply measure it with any design software such as Photoshop, Illustrator, Figma, whatever. Now, if your font is NOT monospaced, then you can still measure it, but you'll break the natural ...


3

Wrong Problem? First, I’ll give what I believe is the solution to the wrong problem. That solution is the same as for the Default UI Element question: a default command button. Such a button replaces everything in the text box with the default content, whether the user changed static content, computed content, or both. In the process, the placeholders for ...


2

1. Ask the users First of all, ask the people using your software. The word default is used quite a bit in source code to signify "use this value when nothing else has been specified" -- for example, defaultValue = 0, defaultSettings = {}, defaultTheme = 'dark', etc. In general, the language in the code sounds more stressful in the UI -- using ...


1

'Initial' is the normal English word you want. It's where things start before you change them. (default is a 'technology term'. If you go back decades, no non technical people would have had a clue what you meant).


Only top voted, non community-wiki answers of a minimum length are eligible