Jump to content

Background image with CSS


Canestraro

Recommended Posts

 

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 by Canestraro
Pediram para mudar
Link to comment
Share on other sites

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

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

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

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

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

i1.png

Link to comment
Share on other sites

×
×
  • Create New...