Hexagon Geospatial
MENU

M.App Enterprise

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Frequent Contributor
Posts: 155
Registered: ‎01-14-2018

Font and Alignment in M.App Enterprise

Dear all,

 

I am wondering in M.App Enterprise form, how to change the font size and the make the alignment right to left.

 

Thanks and best regards,

Khaled

Technical Evangelist
Posts: 179
Registered: ‎03-03-2016

Re: Font and Alignment in M.App Enterprise

Right-to-left support is coming with M.App Enterprise 16.5 ... end of September 2018.

The font size cannot be changed...

Highlighted
Staff
Posts: 964
Registered: ‎10-19-2015

Re: Font and Alignment in M.App Enterprise

Hi Khaled,

 

Thomas war referring to Studio interface. If you need that in Workflows you can use a custom theme. You can refer to GMSC's resources about this:

http://community.hexagongeospatial.com/t5/Developers-Knowledge-Base/Theme/ta-p/3999

 

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Frequent Contributor
Posts: 155
Registered: ‎01-14-2018

Re: Font and Alignment in M.App Enterprise

[ Edited ]

Dear Stefano,

 

I followed the steps of https://community.hexagongeospatial.com/t5/Developers-Knowledge-Base/Create-custom-theme-How-To/ta-p...

 

but firstly I can't find the Default folder, I found in GMSC 2018 a folder called (Classic) which is empty and I copied its contents in a folder called MyTheme inwhich I added in the variable-content.less the following:

@ig-base-font-size: 14px;
@ig-label-text-color: darkblue;

and in theme-content.less

@ig-theme: 'MyTheme'; 
@import '../../ig/ig-content-less.less';

 

and in the workflows I can't find how to refer to what I added above.

 

I just wanted to enlarge the font of the workflows.

 

I also tried another way: In the workflow editor to just create a (new Style) and in it I wrote:

body{
font-size: 14px;
}

and then referef to this custom style inside the list but with no success.

 

Best Regards

Khaled

Frequent Contributor
Posts: 109
Registered: ‎05-25-2016

Re: Font and Alignment in M.App Enterprise

Guess here we are a bit confused. Some components of M.app enterprise were, I think, inherited from Smart client, and there fore some of the documentation referred in the forum are from GSM. In this case, you need to adequate some of the paths to make it work on Enterprise. That been sayed I’ll try to explain a little bit:

 

  • First you´ll need the template files, that located in /M.App Enterprise/Workflows/Content/Css/Workflow-themes. There you´ll see a FlatTheme folder and that’s what you can copy to get the basic structure of the theme.
  • Once you have that file, you may change it to fit your needs. When you are done, you need to make that file available to the workflow you are working on. That workflow will be located under the tenant folder ( …/tenant/Workflows/Custom/Themes)
  • After you have copied the new theme in that folder it will be available in the workflow editor for that particular workflow, you just select it using the dropdown list in the workflow properties.

 

Please note that I have only done it once so I may be missing something lol…

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Development Ticket through our Development Ticket Portal.