Background color display form (Dropdownlist) in VertiGIS Mobile
SlutförtHi,
I'm currently looking for a way on how to change the background color of my display form in Mobile.
I have tried the following situations:
With a panel added where the workflow is nested in:

Which gives the white background, but I can't seem to get rid of the gray title box.
Other option, just the workflow which gives the following result:

Where the dropdown box is transparent but I want to change the background color of the box for readability.
I tried looking into the xml and app.json but without any success.
Thanks in advance!
-
Hi Andreas Broothaerts, I am Jack from the Mobile team here to answer your inquiry.
After consulting with our dev team, they've informed me that the background color can be changed, but it will change that for the entire Workflow. To do so, add a `background-color` property in the XML file and assign it a value. The value can either be a name (CSS Color Names), or a hex value (which allows you a finer control of the value and its opacity). Here is an example
<workflow id="workflow-1c1468d3" config="e75c0950-e054-4b28-89bf-db3d7a02ec31" background-color="#6495ED25"/>
The result of that is the following:
You may change the background color of a specific component, but that requires more in-depth knowledge of Mobile and developing your app using the Mobile SDK. Does this answer your question?
0 -
Jack Basha Thanks for this elaborated answer. I eventually also made it work by putting the element inside of a section which made it a white background. Probably less pretty but did the trick for now.
0 -
Glad to hear and happy to help!
Regards,
Jack Basha0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
3 kommentarer