Canestraro Posted May 7, 2020 Share Posted May 7, 2020 (edited) Regarding mobile, I was using version 1.0.0.1425, I updated to 1.90.0.1528 all my CSS stopped working. In the old version everything was working correctly. I'll put here a part of a css as an example that doesn't work: No customcss .bg { background-image: url ("files / images / ptrn1.png")! important; background-repeat: no-repeat; background-size: 100% 100%; } No unimPanel in unievents beforeinit config.cls = 'bg'; If it changed how to do it someone could give me an example. Edited May 7, 2020 by Canestraro Pediram para mudar Link to comment Share on other sites More sharing options...
Sherzod Posted May 7, 2020 Share Posted May 7, 2020 Hello, Can you please clarify your question? And please specify which edition of UniGUI are you using? Link to comment Share on other sites More sharing options...
Canestraro Posted May 7, 2020 Author Share Posted May 7, 2020 Regarding mobile, I was using version 1.0.0.1425, I updated to 1.90.0.1528 all my CSS stopped working. In the old version everything was working correctly. I'll put here a part of a css as an example that doesn't work: No customcss .bg { background-image: url ("files / images / ptrn1.png")! important; background-repeat: no-repeat; background-size: 100% 100%; } No unimPanel in unievents beforeinit config.cls = 'bg'; If it changed how to do it someone could give me an example. Link to comment Share on other sites More sharing options...
Sherzod Posted May 7, 2020 Share Posted May 7, 2020 Hello, Can you please make a simple testcase to check? And if possible, a screenshot from the previous version. Link to comment Share on other sites More sharing options...
Canestraro Posted May 7, 2020 Author Share Posted May 7, 2020 Hello, Here is a basic example and also before and after images. No css worked in the new version. My whole project is stopped I'm also sending in allcss.txt all the css that I'm using in my project and they just don't work help teste.7z allcss.txt Link to comment Share on other sites More sharing options...
Abaksoft Posted May 11, 2020 Share Posted May 11, 2020 Hello Canestraro, Beautifull Design : Congratulation ! Can you check your Teste.7z It's empty as your Main.pas is at the Location : C:\Users\Canestraro\Documents\Embarcadero\Studio\Projects\Project1 Can you try to Save it on a separate Folder and Upload it again... Thx. Link to comment Share on other sites More sharing options...
Freeman35 Posted May 11, 2020 Share Posted May 11, 2020 hello, This is my css, just single quotation mark .loginArkaPlan{background:url('files/walls/background.png')repeat fixed} Link to comment Share on other sites More sharing options...
Canestraro Posted May 11, 2020 Author Share Posted May 11, 2020 3 hours ago, Abaksoft said: Hello Canestraro, Beautifull Design : Congratulation ! Can you check your Teste.7z It's empty as your Main.pas is at the Location : C:\Users\Canestraro\Documents\Embarcadero\Studio\Projects\Project1 Can you try to Save it on a separate Folder and Upload it again... Thx. Hello, thank you, this is a project that I have dedicated myself to. I regret the wrong information is already attached to the project folder you reported. If you can help I am grateful. Project1.7z Link to comment Share on other sites More sharing options...
Canestraro Posted May 11, 2020 Author Share Posted May 11, 2020 1 hour ago, Freeman35 said: hello, This is my css, just single quotation mark .loginArkaPlan{background:url('files/walls/background.png')repeat fixed} Thanks, but that's not the problem, I made the change but it persists. Can you give me an example? because no css of mine works, neither for button nor for screen. Link to comment Share on other sites More sharing options...
Abaksoft Posted May 11, 2020 Share Posted May 11, 2020 7 hours ago, Canestraro said: if you can help I am grateful. Hello, The reason is that : Not all CSS are compatible with old theme used in 1.0.0.1425 (Sencha Touch 4.2) See New Themes in MainModule TouchTheme. You can Ask our Maestro SHERZOD : How to translate your old CSS on Sencha 7.0 (if he can ???) And for your MainmForm Change your Design with simple Layout Config : -> ServerModule : MainFormaDisplayMode : mfPage -> Mainm : AlignmentControl : uniAlignmentClient Test.7z Link to comment Share on other sites More sharing options...
Recommended Posts