View Single Post
Old 01-03-2025, 05:27 PM   #18
wrCisco
Enthusiast
wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.wrCisco ought to be getting tired of karma fortunes by now.
 
Posts: 43
Karma: 588278
Join Date: Apr 2016
Device: none
Hi, sorry for the delayed response, I read just today the notification for the updates in this thread.

Odamizu, did the workaround of KevinH solved the problem for good or do you need to click on the plugin's icon every time? I wrote a function that could possibly force the window to the top of the windows's stack, but I don't have a Mac so I cannot test it. If you're still experiencing the problem, can you test if one of the two betas that I attached to this post solves it?

@DiapDealer: what do you mean, it's not intuitive? To show a scrollable list of checkbuttons I just had to create a text widget, attach manually to it a vertical scrollbar and bind the movement of each one to the other, then for every checkbutton I inserted a 'window' at the end of the text widget and set the checkbutton background color (which cannot be transparent) to match the one of the text widget, then set the 'wraplength' property of the checkbuttons's style to be equal to the window minus my guess about the width of the scrollbar and the margins and update this value every time the user resizes the window. After that I just needed to specify that I want the text widget to scroll when the mousewheel is used and add all the checkbuttons to the 'bindtags' of the text widget (or the mousewheel wouldn't work when the cursor is over a checkbutton or its label). If this is not intuitive to you, what is?
Attached Files
File Type: zip cssUndefinedClasses_0.2.3beta1.zip (69.3 KB, 133 views)
File Type: zip cssUndefinedClasses_0.2.3beta2.zip (69.3 KB, 142 views)
wrCisco is offline   Reply With Quote