cEvolve05
cEvolve05
C:\Users\UserName\AppData\Roaming\od\
C++/Slint 1.7.2/windows I am developing a C++ application with Slint. And two-way binding has strange behavior in some cases. The properties seems cannot be set in C++, but if I...
C++/Slint 1.7.1 When a explicit minimum size is smaller than default minimum size, Layout(`alignment: stretch`) will ignore the explicit minimum size: Layout won't use the explicit minimum, it use default...
C++/Slint 1.7.1 When using preview with toolbar enabled, `absolute-position` always gives wrong value, bigger than what it should be. This seems to be caused by taking toolbar size into consideration....
C++ & Slint 1.7.0 In [document](https://releases.slint.dev/1.7.0/docs/slint/src/language/syntax/states#transitions), it says that syntax `animate * { ... }` used to animate all properties, but it actually not works. With below code, it is...
引入页面显示周期的概念,指从一个页面显示开始,直到页面不再显示。目前的周期如下: 1. 显示页面 2. 调用 onShow 3. 调用 onHide 4. 隐藏页面 其中会等待第三步函数返回后再执行第四步,但是无法利用这点实现退出动画,因为如果第三步进行等待会导致整个主线程的阻塞。 由此,考虑将隐藏页面的行为,或者通知 `ViewManager` 隐藏页面的行为委托给 `onHide` 或是新接口执行,由对应接口使用 `asyncExecute` 进行非阻塞的等待操作。 另外,当前对 onShow 的调用并不一定保证在显示页面之后,整个 `ViewManager` 需要进行相应的修改。