View Single Post
Posts: 5 | Thanked: 0 times | Joined on Dec 2009 @ Saint-Petersburg, Russia
#81
New widget with regexp works fine, but dimensions of the window still remain too big (seems corresponding to reply string length before regexp-ing)
Code:
width, height = self.allocation[2], self.allocation[3]
I explicitly set width=180, height=50 and decrease radius to make the window better fit to my "reply".
Though I think it's not a "kocher" way.