2015-04-18 22:13 GMT+02:00 Nicolai Hess <[email protected]>: > > > 2015-04-18 22:08 GMT+02:00 Nicolai Hess <[email protected]>: > >> >> >> 2015-04-18 6:45 GMT+02:00 Damien Cassou <[email protected]>: >> >>> >>> Jan Blizničenko <[email protected]> writes: >>> >>> > In settings, there used to be option to switch off categories of image >>> > sources/templates, like hide Pharo 2 category, but this option seems >>> to be >>> > missing now. >>> >>> >>> yes, I removed it because it was too costly to maintain. >>> >>> >>> > And one more thing ... GUI has some weird colors (well, I think it is >>> > actually missing colors). Screenshot: >>> > https://monosnap.com/file/Fs6rfZTlstzqkKzyReRnPUVa28FVZe.png >>> > However, this one is not today's change, because this morning I tried >>> > updating launcher (to find out whether it supports Pharo 5 :) ) and >>> colors >>> > were already like this. >>> >>> >>> I confirm and I don't know why. >>> >> >> This changed in pharo 40.004. Setting the rowcolor in the TreeMorph >> created by the MorphTreeModel >> was removed (by estaban (?)), I think this was because it is bad to have >> these values hard coded in >> the model (doesn't look nice with the dark theme :) ) >> >> The now problem is, spec tree model does not expose (or use) the api for >> setting this attributes. >> I uploaded a workaround fix to set this property when the widget is built >> (bypassing spec). >> (PharoLauncher-Spec-NicolaiHess.41) >> >> nicolai >> >> > Well, this was only one half of the problem. Somehow the other backgrounds > (desktop/panel) are > white instead of gray... >
Ah, now I found the second change, that is responsible for this white-in-white launcher display: WorldModel>>#setUpWorld has changed. It now uses the default theme background color instead of hard coded value. So, what is next ? Currently it looks pretty ugly. But we should not reintroduce these hard coded values. On the other hand, opening a spec app in fullscreen (like pharo launcher) should be possible and have some nice (theme dependend) looking color. (The reason why the app is white in full screen and gray without, is because a fullscreen spec model just uses a *transparent* PanelMorph as Top-level Morph (instead of a SystemWindow). > > > >> >> >> >> >>> >>> -- >>> Damien Cassou >>> http://damiencassou.seasidehosting.st >>> >>> "Success is the ability to go from one failure to another without >>> losing enthusiasm." --Winston Churchill >>> >>> >> >
