Re: [PyQt] strange extra spacing between checkboxes

2007-11-20 Thread Mark Summerfield
On 2007-11-20, Shriramana Sharma wrote: Mark Summerfield wrote: height = QFontMetrics(window.font()).height() checkboxes[i].setMaximumHeight(height) checkboxes[i].setMinimumHeight(height) Thanks. Adding these lines corrected the problem. Note that this might fail, for

Re: [PyQt] strange extra spacing between checkboxes

2007-11-19 Thread Mark Summerfield
On 2007-11-19, Shriramana Sharma wrote: Hello. Nobody has replied to this mail of mine from last week. Please can anyone look into it and reply? Thanks. Please see the attached program. It's a simple todo program I wrote. Kartavya means Something that needs to be done in Sanskrit. I want

Re: [PyQt] strange extra spacing between checkboxes

2007-11-19 Thread Shriramana Sharma
Mark Summerfield wrote: height = QFontMetrics(window.font()).height() checkboxes[i].setMaximumHeight(height) checkboxes[i].setMinimumHeight(height) Thanks. Adding these lines corrected the problem. Note that this might fail, for example if the font is changed dynamically.

[PyQt] strange extra spacing between checkboxes

2007-11-18 Thread Shriramana Sharma
Hello. Nobody has replied to this mail of mine from last week. Please can anyone look into it and reply? Thanks. Please see the attached program. It's a simple todo program I wrote. Kartavya means Something that needs to be done in Sanskrit. I want to know why the spacing between the list

[PyQt] strange extra spacing between checkboxes

2007-11-12 Thread Shriramana Sharma
Hello. Please see the attached program. It's a simple todo program I wrote. Kartavya means Something that needs to be done in Sanskrit. I want to know why the spacing between the list items increases when items are added and how I can stop that from happening. The spacing between the list