Closed shirakaba closed 3 years ago
It looks like, during the flicker, the button starts huge:
0:02:
0:06:
It's interesting to note that, although it starts huge, it does start consistently the same size both times. Things would be clearer if we reduced the paddings and margins to understand whether it's growing to a certain container size or some other logical size.
@a7ul does this look like familiar behaviour at all? Could it possibly be anything to do with yoga, or is it a known problem with Qt itself?
Hey this should be fixed in the latest version
there was a pr for bugs with flex layout here: https://github.com/nodegui/nodegui/pull/814
can you bump the nodegui and react nodegui versions underneath?
Thanks @a7ul! Sorry for the late reply. This'll be my top priority next time I'm doing some open-source. Have just been taking a break since the initial release!
Fixed in v0.0.2-alpha.2
!
Reported on the Svelte Discord, on the
#nativedev
channel by user_nothing
, who had just been experimenting with svelte-nodegui-starter:https://user-images.githubusercontent.com/14055146/110186231-7d30f580-7e0c-11eb-975d-a9b3ce8a4426.mov
_nothing
confirmed that setting a fixed window size didn't improve the situation.