On Monday, April 12, 2021 at 2:59:44 PM UTC-4 tbp1...@gmail.com wrote:
> I got qt_text to work - at least on the surface - with these changes: > #width = self.fm.width(str(max(1000, > self.highest_line))) + self.w_adjust > if isQt6: > width = self.fm.boundingRect(str(max(1000, > self.highest_line))).width() > else: > width = self.fm.width(str(max(1000, self.highest_line))) + > self.w_adjust > if self.width() != width: > self.setFixedWidth(width) > > It's possible that *self.setFixedWidth(width)* has had an API change - I > didn't look it up to see. Perhaps this line didn't get executed so an > error didn't show up. > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/9955325a-d089-47ba-a0c6-b23280820b08n%40googlegroups.com.