Skip to Content (Press Enter)
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Home
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Platforms
OutSystems.com
Personal Edition
Community
Resources
Support
Search in OutSystems
Log in
Get Started
Back to Ideas
7
Like
Follow Idea
André Ramos
Input width in pixels
1957
Views
2
Comments
Implemented
Frontend (App Interfaces)
OutSystems 8.0
For coherence between widgets since the dropdowns already have the size in pixels instead of characters and for improved compatibility between browsers. It's annoying to try to find how many pixels each character will take.
enigma
im afraid that thats a HTML "problem" =)
but maybe this can help you for a little workaround:
f(PX/DPI)
Where f is 2.54 for cm and 1 for inches.
PX = Pixels
DPI = Dots Per Inch
So... a 300 dpi pixel = 1/300 inches = 1/300*2.54 cm = 0.00847 cm
You just have to figure out howmany cm/inches is required by 1 character.
André Ramos
The size in pixels can be defined in CSS. That way we wouldn't be forced to make crazy calculations.
Log in to comment
Loading...