Blog, Development

How to make 9.0 Classic Client a bit cleaner

At the moment I do migration for one of customers from 8.2 ground to 9.0 cloud. I migrated all the customizations and customer was not satisfied with layout of updated classic 9.0 client. The biggest complain was related to huge whitespaces around fields. Just compare the same default forms of account entity 8.2 on the left and 9.0 classic UI on the right:

Obviously there was no supported way to change the layout so I had to use unsupported DOM manipulations (yes, I know it’s bad, but sometimes you have no alternatives). I added following code to onload handler of form:

Here is comparison of forms without and with added handler:

 

7 Comments on “How to make 9.0 Classic Client a bit cleaner

  1. Hello. Using such code, is it also possible to force the size of the font. Standard in OnPrem is if i’m not wrong 11px, converted would be like a Segoe UI 8pt, but now in online it is closed to 9 or 10 pt? Cand be forced somehow label and value to 8? Many many thanks for your valuable input!

  2. This works perfectly fine. Any idea on how to implement this on sub grid in a form and views in 9.0. Awaiting your response.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.