Sign up
Log in
My Platform
Tools
Tools
Go back
Downloads
IPP
Licensing
Learn
Learn
Go back
Training
Welcome
Guided Paths
Training Planner
Courses
Tech Talks
Classroom
Certifications
Documentation
Overview
OutSystems 11
Best Practices
How-to Guides
Community
Community
Go back
Home
Jobs
Forums
Forge
Ideas
Members
Badges
Support
OutSystems.com
Sign up
Log in
Community
›
Ideas
›
Input width in pixels
Advanced Search
0
Followers
7
Likes
Input width in pixels
André Ramos
André Ramos
Founder
at
talkguest.com
+ 3
#323
in Community Rank
Frontend
Implemented
on 10 May 2013
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.
Created on 23 Jun 2012
Comments (2
)
enigma
26 Jun 2012
enigma
Development consultant
at
+ 2
#1 612
in Community Rank
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
26 Jun 2012
André Ramos
Founder
at
talkguest.com
+ 3
#323
in Community Rank
The size in pixels can be defined in CSS. That way we wouldn't be forced to make crazy calculations.
views
701
Followers
0
Loading...
Loading
(hidden) New Badge Popup