Commit Graph

10 Commits (32d8a82e0539cc8bf0799977a68e6dc33e094e01)

Author SHA1 Message Date
sushanta chakraborty ec0292b579 // OnPopulateMesh() was getting called before m_OutputText was updated in function UpdateQuadImage(), Due to this, m_HrefInfos.boxes where not getting created, which in further resulted into non clickable text. This is happening in Unity5.5.
So what i did is i assigned m_Text = GetOutputText(); directly in  OnPopulateMesh() function, which solved the problem.

--HG--
branch : sushanta1991/-onpopulatemesh-was-getting-called-befor-1480940993474
2016-12-05 12:29:57 +00:00
Simon Jackson c97b4f8a99 TextPic update and fix
--HG--
branch : develop_5.3
2016-11-24 17:48:51 +00:00
Simon Jackson 76e5049023 Fixed and tested HSS & VSS use with Scroll COnflict Manager.
HSS & VSS controls now play nicely together
Added new version of Gradient

--HG--
branch : develop_5.3
2016-11-15 23:48:44 +00:00
sushanta chakraborty 18cf84b4d0 TextPic.cs Added Fix for href tag, which was not working. Added support for multiple href tag with same name.
--HG--
branch : sushanta1991/textpiccs-was-not-working-for-href-unit-1474979920532
2016-09-28 06:56:06 +00:00
sushanta chakraborty b75a03963e TextPic.cs Added Fix for href tag, which was not working.
--HG--
branch : sushanta1991/textpiccs-was-not-working-for-href-unit-1474979920532
2016-09-28 05:29:33 +00:00
sushanta chakraborty 292fb39c93 TextPic.cs was not working for href.
Unity-UI-Extensions helped me a lot thanks for creating it.

Today i was trying href tag provided with TextPic.cs, but unfortunately it was not working.

I figured out that, OnPopulateMesh() was creating hrefInfo.boxes but at the end when OnPopulateMesh() calls UpdateQuadImage(), hrefInfo.boxes.count was coming 0. This was little strange but i saw that GetOutputText() was re-creating m_HrefInfos array from scratch but it didn't include the code to add boxes, so this was the issue.

so what i did is, i commented this line m_HrefInfos.Clear(); in GetOutputText() and added few lines of code to check if m_HrefInfos elements exists than don't destroy it, just update it with new values.
This helped in resolving the issue. Now i was getting onClick event on href tag.

Thanks

--HG--
branch : sushanta1991/textpiccs-was-not-working-for-href-unit-1474979920532
2016-09-27 12:38:44 +00:00
playemgames f324f58076 Hack to clear out culled images to properly position them instead of reuse images.
--HG--
branch : playemgames/hack-to-clear-out-culled-images-to-prope-1470396744892
2016-08-05 11:36:19 +00:00
playemgames 4ede5c9576 Added OnValidate and UpdateQuadImage(); to OnPopulateMesh(); to position the images correctly on text input.
--HG--
branch : playemgames/added-onvalidate-and-updatequadimage-to--1469821382746
2016-07-29 19:43:04 +00:00
Simon Jackson 6796c319a3 Documentation update
--HG--
branch : develop_5.3
2016-07-17 20:56:54 +01:00
Simon Jackson e105d9f2dd Added UI Knob
Restructured controls in to their own folder.  If we are breaking Bkcompat, might as well make it a good one

--HG--
branch : develop_5.3
2016-07-17 19:21:41 +01:00