Open andreififiita opened 3 years ago
This is a good feature to have will update it
On Wed, May 5, 2021, 4:30 PM AndreiF, @.***> wrote:
Version 2.5.0:
Because text widgets getLabel() method won't return Label class, the methid getLabel().setTextColor() cannot be used. Please provide a new method setLabelTextColor to set the label custom color.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GwtMaterialDesign/gwt-material/issues/1005, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAX6EFZLI7DPXTZFVR2IS3DTMD6ZNANCNFSM44EG3UQA .
Thanks! It would be great if it would be in the next 2.5.0 (or .1) candidate.
Ok I have provided a way to get the Label widget from MaterialValueBoxes thru valueBox.getFieldLabel()
I think there is (and was) already a method called valueBox.getLabel()
, but it was made private. I don't think there should be 2 methods.
Version 2.5.0:
Because text widgets getLabel() method won't return Label class, the methid getLabel().setTextColor() cannot be used. Please provide a new method setLabelTextColor to set the label custom color.