wordwrap for DzLabel is broken on 4.10
V3Digitimes
Posts: 3,150
Hello,
I just saw by testing some of my new scripts on 4.10 that the command wordWrap does not work any longer.
Then I just checked some of my older products and I saw that they had the same wordWrap issue. On older versions of Daz Studio, the wordWrap works.
Is there a new procedure to have a label "wrapped in the box"? Is it known and planned to be solved?
In the meantime I'm gonna try to find alternate - but less elegant - solutions to finish my products without the wordWrap, but I'm interesting to know if the function is going to come back later on, or if I have to plan a general update for my older products.
Thanks!
Comments
In Daz Studio 4.10.0.22 the inheritance hierarchy for
DzLabel
(which is only accessible via script API, so inserting an intermediate class into the inheritance hierarchy ofDzLabel
does not break ABI for plugins/SDK) switched fromQLabel
directly toDzElidedLabel
(an SDK class, which is a decendent ofDzStyledLabel
- another SDK class, which is a decendent ofQLabel
) and a newelideMode
property was added; as noted in the change log. This new property controls where the ellipsis ('...') appears when aDzLabel
displays text that does not fit the current width of the widget. The current default isDzWidget.ElideRight
(the ellipsis should appear on the right end of the text). I will change the default in the pending Daz Studio 4.10.0.x update to beDzWidget.ElideNone
, which is the equivalent of the behavior prior to the inheritance change.In the meantime, you can use the following to get the previous behavior:
-Rob
Thank you for this clarification Rob! I'm sorry when I read the change log, many times I don't see the consequences of what is written ... until it becomes a problem for me. Anyway, that's nice to change the default, because that is good to know that I won't be forced to update most of my products :)
Just to let you know that the updated Public Beta release has the DzLabel fix.
Thanks for letting me know. Great news!