Hi all, hi Marcel :-)
What is the purpose of the class-side #applyUserInterfaceTheme implementation in SystemProgressMorph?
SystemProgressMorph class >> applyUserInterfaceTheme self reset.
Given the following snippet:
Project current uiManager informUser: 'Foo' during: [ Preferences changeFontSize: 0. self halt]
Currently, the SystemProgressMorph has abandoned when a debugger appears. If I remove the class-side method from above, everything works as expected.
What are the considerations to hide all progress if the UI theme is changed?
Best,
Christoph
Hi Christoph.
What are the considerations to hide all progress if the UI theme is changed?
I suppose "self reset" is just the simplest way to update all UI stuff according to the new theme. Feel free to write a better ui-update method.
Best, Marcel Am 13.12.2019 22:50:08 schrieb Thiede, Christoph christoph.thiede@student.hpi.uni-potsdam.de: Hi all, hi Marcel :-)
What is the purpose of the class-side #applyUserInterfaceTheme implementation in SystemProgressMorph?
SystemProgressMorph class >> applyUserInterfaceTheme self reset.
Given the following snippet:
Project current uiManager informUser: 'Foo' during: [ Preferences changeFontSize: 0. self halt]
Currently, the SystemProgressMorph has abandoned when a debugger appears. If I remove the class-side method from above, everything works as expected. What are the considerations to hide all progress if the UI theme is changed?
Best, Christoph
Hi Marcel,
#reset abandons the progress morph.
Feel free to write a better ui-update method.
Well ... have a look at Morphic-ct.1615 :-) I could not identify any glitches with it so far.
Best, Christoph
________________________________ Von: Squeak-dev squeak-dev-bounces@lists.squeakfoundation.org im Auftrag von Taeumel, Marcel Gesendet: Montag, 6. Januar 2020 15:43:29 An: JOHN SARKELA via Squeak-dev Betreff: Re: [squeak-dev] SystemProgressMorph applyUserInterfaceTheme
Hi Christoph.
What are the considerations to hide all progress if the UI theme is changed?
I suppose "self reset" is just the simplest way to update all UI stuff according to the new theme. Feel free to write a better ui-update method.
Best, Marcel
Am 13.12.2019 22:50:08 schrieb Thiede, Christoph christoph.thiede@student.hpi.uni-potsdam.de:
Hi all, hi Marcel :-)
What is the purpose of the class-side #applyUserInterfaceTheme implementation in SystemProgressMorph?
SystemProgressMorph class >> applyUserInterfaceTheme self reset.
Given the following snippet:
Project current uiManager informUser: 'Foo' during: [ Preferences changeFontSize: 0. self halt]
Currently, the SystemProgressMorph has abandoned when a debugger appears. If I remove the class-side method from above, everything works as expected.
What are the considerations to hide all progress if the UI theme is changed?
Best,
Christoph
squeak-dev@lists.squeakfoundation.org