C Christian75 Member Sep 1, 2021 #1 Hi, I have a problem where the Styles does not seem to work in Abstract Designer. Classes works OK. Or do I need to format them different than I have done, see picture below. It works if I add the Style in B4J like this: B4X: apptitle.AddStyle("text-shadow", "#FC0 1px 0 10px") But I rather would like add it in the Abstract Designer. BR Christian
Hi, I have a problem where the Styles does not seem to work in Abstract Designer. Classes works OK. Or do I need to format them different than I have done, see picture below. It works if I add the Style in B4J like this: B4X: apptitle.AddStyle("text-shadow", "#FC0 1px 0 10px") But I rather would like add it in the Abstract Designer. BR Christian
Solution Mashiane Sep 2, 2021 You need to use = instead of : as indicated on the Styles Description, dont include a last ;
Mashiane Expert Licensed User Longtime User Sep 2, 2021 #2 You need to use = instead of : as indicated on the Styles Description, dont include a last ; Upvote 1 Solution
C Christian75 Member Sep 3, 2021 #4 After some trial and error I also was able to add more than one style. Use ; with no spaces(important) also the = must be without spaces like this CSS: width= 100vw;max-width= 100vw Upvote 0
After some trial and error I also was able to add more than one style. Use ; with no spaces(important) also the = must be without spaces like this CSS: width= 100vw;max-width= 100vw
Mashiane Expert Licensed User Longtime User Sep 6, 2021 #5 Great, please update the title to mark it as solved. Thanks. Upvote 0
C Christian75 Member Sep 6, 2021 #6 I think I have too few posts or something so do not think I can change the title yet. I will set it to solved as soon as I can! Upvote 0
I think I have too few posts or something so do not think I can change the title yet. I will set it to solved as soon as I can!