Relative measurments - JSClient - OS8

Mike Matthews omnis at lineal.co.uk
Mon Dec 12 16:35:33 EST 2016


Hello Aidan,

Not a clue, but it was great meeting you at EurOmnis 2016.

Resolution indépendance has been spoken about before and something I would love to see.

Mike




Mike Matthews,
 Managing Director, SQLWorks Software Ltd

Tel: +44 (0)1271 375999

Email: mike.matthews at sqlworks.co.uk

Web: www.sqlworks.co.uk

Use SQLWorks, forget Sage, ACT!, Opera, Access & SAP

On 12 Dec 2016, at 21:08, Aidan Dunn <aidan at freedomsoftware.co.nz> wrote:

> Hi all,
> 
> Just to introduce myself, I am a new developer to Omnis Studio, brought on by Freedom Software here in New Zealand; been working with the platform off and on for the past year (I'm a full stack web developer by trade). Some of you may have met me at this recent Euromnis event.
> 
> And to my question...
> 
> I was wondering if anyone has had any experience in using non pixel based measurements for "objects" on a class/window with the JSClient?
> 
> Being a web developer I have had the luxury of multiple methods to describe the size of an element on the page. In particular I am referring to "em" and "rem" the web browsers can use to base dimensions on the size of font. Where this is not always the case, this is usually referred to 1 em being the width of an "m" on the page; with "em" being the current HTML element's font size and "rem" being the page's body element font size.
> 
> Recently the need to specify a font size in our application has come up, enabling users to change the size of their application's font to their needs at the time (through an options screen or such). Many of our clients also use either the browser's or operating system's ability to automatically scale fonts, etc to a percentage above or below 100%. This can cause a large issue for pixel based elements because they don't scale with the font and that leads to the text breaking outside the element or some such other disaster-ish behaviour.
> 
> I'd like the solution to be omnis-based as not everyone in our office is as savvy as I am with HTML, css, etc and being able to co-operatively work on the application is desirable.
> 
> Any help / advice regarding this would be appreciated.
> 
> 
> Regards,
> 
> Aidan Dunn
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com






More information about the omnisdev-en mailing list