Re: Wallpaper Image Preview Dialog

"Roger Binns" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <010d01c522ee$8af68620$3501a8c0@rogersqyvr14d3>
> I was playing with the image preview dialog and noticed that it always 
> defaults to a dialog size of about 218 x 657. 

More accurately it fitted itself to the size of the widgets inside.

> I commented that out and put in a fixed size of 800 x 700 

Fixed sizes are generally really bad.  We already have a system
in the code for setting and remembering dialog/window sizes.
Use guiwidgets.set_size and guiwidgets.save_size

They aren't used in some circumstances where the dialog/window
has various numbers of widgets (eg dependent on other config
settings) and window should be sized to the contents.

Roger


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.