You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, only the first line of the text will be visible in the toast. It seems like the solution would be like this:
def__setup_ui(self):
[...]
ifself.__title==''orself.__text=='':
text_section_spacing=0# NEW CODEifself.__multiline:
self.__text_label.setWordWrap(True)
text_height=self.__text_label.sizeHint().height()
text_width=self.__text_label.sizeHint().width()
# END OF NEW CODEtext_section_height= (self.__text_section_margins.top()
+title_height+text_section_spacing+text_height+self.__text_section_margins.bottom())
[...]
This gives:
Alright if I create a PR to this effect?
The text was updated successfully, but these errors were encountered:
This looks like a very nice addition, definitely feel free to create a PR for it 👍🏻
We'll have to make sure everything is backwards compatible but I think that shouldn't be a problem with this feature
For instance, if I want to toast a pretty-printed dictionary:
Right now, only the first line of the text will be visible in the toast. It seems like the solution would be like this:
This gives:
Alright if I create a PR to this effect?
The text was updated successfully, but these errors were encountered: