E2OpenPlugins / e2openplugin-Foreca

Weather forecast
13 stars 23 forks source link

[Foreca ui] use SetTitle if avaible #42

Closed Dima73 closed 6 years ago

ims21 commented 6 years ago

Could not be used standard SetTitle as usually ? I di not know, why there is used StaticText

Dima73 commented 6 years ago

setTitle exists in all the images?

ims21 commented 6 years ago

I think , self["Title"] is obsolete ... see to others plugins under E2OpenPlugins, if using it too. But for what do you need replace self["Title"], if it works ? Btw ... it is used 5x in code.

Dima73 commented 6 years ago

For openPli 6.0 this self["Title"] not work.

ims21 commented 6 years ago

Strange ... I am using it (under develop) and it works well for me ... btw - under 6.0 foreca does not work, because there is pined old version and not 3.2.0.

ims21 commented 6 years ago

And if is used ui.py under 6.0, title not works, because 6.0 has pinned old skin too... try develop with PLiFullHD skin and you will see, all is ok - I repaired it long time ago... enough was remove in all foreca's screens in skin_plugins.xml parameter "title=....."

f.eg:

-  <screen flags="wfNoBorder" name="ForecaPreview" position="fill" title="Forecast">
+  <screen flags="wfNoBorder" name="ForecaPreview" position="fill">