O$ 8.1: Using custom CSS in a jsClient responsive form

Michael Matthews omnis at lineal.co.uk
Fri Nov 30 05:01:46 EST 2018


Hello Paul,

Not an answer really, other than yes you can.  At last EurOmnis, Andreas showed in his class how to do it.

We added new items the CSS and then used that in the omnis object by setting the $cssclassname value for it.

That is about all I can remember at this point, but it did allow us to have top corners curved / radiused on a button and tab and such like.

Mike

          <http://www.lineal.co.uk/>         

 <https://twitter.com/linealsoftware>  <https://www.facebook.com/linealsoftware?fref=ts&ref=br_tf>  <https://plus.google.com/112982815000763473226/about>  <https://www.linkedin.com/company/1859834?trk=tyah&trkInfo=clickedVertical%3Acompany%2Cidx%3A1-1-1%2CtarId%3A1437729256906%2Ctas%3Alineal%20s>		
Mike Matthews
omnis at lineal.co.uk <mailto:omnis at lineal.co.uk>
Lineal Software Solutions 
01271 375999 
Commercial House, The Strand
Barnstaple, Devon, EX31 1EU 
www.lineal.co.uk <http://www.lineal.co.uk/>

 <http://www.lineal.co.uk/windows-support/>  <http://www.lineal.co.uk/microsoft-office-365/>  <http://www.lineal.co.uk/wifi-networks/>  <http://www.lineal.co.uk/wifi-networks/>  <http://www.lineal.co.uk/it-systems/>  <http://www.lineal.co.uk/gamma-horizon-voip/>  <http://www.lineal.co.uk/kerio/>  <http://www.lineal.co.uk/apple-upgrades-repairs/>  <http://www.lineal.co.uk/eset-security-software/>  <http://www.lineal.co.uk/shoretel/>




> On 30 Nov 2018, at 09:20, Paul Mulroney <pmulroney at logicaldevelopments.com.au> wrote:
> 
> Hi Everyone,
> 
> I'm trying to setup a form with an array of objects, each with a picture and a button. (a "recently addded" type thing).
> 
> I would like it so that the objects would evenly distribute across the page, but the built in edge floats don't seem to do what I need it to do.
> 
> Digging through CSS tutorials I found a "Flex Box" setup, where if I add a bit of CSS to the container div, it can do the magic I want:
> 
> .recentlyadded {
> 	/* Make the items in this paged pane distribute evenly across the page */
> 	display: flex !important;
> 	flex-direction: row !important;
> 	flex-wrap: wrap !important;
> 	justify-content: space-around !important;
> }
> 
> I've added this to the "user.css", and I've created a paged pane with a $cssclassname of "recentlyadded", but it doesn't look like it worked.
> 
> Has anyone tried to add custom css to Studio 8.1?  What did I miss?
> 
> Regards,
> Paul.
> 
> 
> 
> "A user interface is well-designed when the program behaves exactly how the user thought it would."
> Joel on Software
> -- 
> Paul W. Mulroney                           We Don't Do Simple Pty Ltd 
> pmulroney at logicaldevelopments.com.au       Trading as Logical Developments
> www.logicaldevelopments.com.au             ACN 161 009 374 
> Ph: +61 8 9458 3889                        86 Coolgardie Street
>                                           BENTLEY  WA  6102
> 
> 
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 




More information about the omnisdev-en mailing list