I’m having a problem where I have a tooltip window with horizontal layout group as well as a content size fitter. This works well, even with inserted into the text. However, if I increase the glyph scale of the sprite, the content size fitter does not adjust to the new sprite mesh. The images below should explain my problem better.
The working tooltip. Upping the glyph scale to 2… …makes the text overflow. This is the wireframe of the new text’s mesh, and the tooltip mesh behind it.
Anyone got an idea of how to fix this? Is it a bug or am I misundertanding something? Any help very appreciated!
Bring up the Layout Properties on the text object as seen below and see if the Preferred Width changes when you modify either the sprite character’s scale or the sprite glyph’s scale.
Can we expect this fix/release any time soon? Just had some very strange layout bugs and it took a while to narrow it down to the sprites, and then to find this workaround
I haven’t - we’re on 2.0.1 but Package Manager says that’s up to date. Is 2.1.0p3 2019.3 only or something? We’re on 2019.2 - if it’s available for 19.2 I’ll happily grab it
In the Advanced tab of the Package Manager window, you have to select Show Preview Package. This will enable you to see the latest version which is 2.1.0-preview.3.
Preview packages was enabled - it didn’t show. I’ve manually updated the manifest and it’s all good, but FWIW it still says I should “upgrade” to 2.0.1
We’re not on the latest patch for 2019.2, which I suspect might be the cause. Thanks for letting me know the current version though