View Single Post
Old 07-11-2011, 01:19 AM   #65
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Dialog size

I am just starting to try Cleaner, but have a problem with the dialog size.

When I open Cleaner, the dialog is to large for my screen. The top of the dialog is at the top edge of the screen and the bottom extends off the bottom of the screen. One the "Open/Save" tab, the top edge of the "Open Htmlz" button is just visible above the Windows taskbar. If I change the taskbar to autohide I can see the "Basic Cleaning" checkbox is against the bottom of the screen.

I have had a look at the source code, and do not immediately see where the dialog sizing is done. I don't code in Python (C#, C++, Perl and lots of older languages) so I am probably missing something obvious. The only thing close I can find if the call to "setRowMinimumHeight" in main.py. I might play with that and see what happens.

Edit: Changing from 500 to 400 in the "setRowMinimumHeight" call sized the dialog so that it was usable. And I can now say: Nice plugin and very handy.

This in on a laptop with Windows 7 and a 1280*800 resolution screen. Caibre is V0.8.9 and the Cleaner is 0.0.6.

I you need any more info, I will be happy to supply it.

David

Last edited by davidfor; 07-11-2011 at 02:04 AM. Reason: Tested a change to the code
davidfor is offline   Reply With Quote