From: Roger B. <ro...@ro...> - 2004-02-09 09:31:41
|
> Seems to work on the Mac. One oddity is that when you hit the Preview > button, a window opens that has no size (you can see the close widget > and resize widget), but when opened up it has valid content. Do you have to manually resize it? If so, can you add a fix to bphtml.HtmlEasyPrinting.PreviewText. I would expect it to be something like this, just before the call to Show. if guihelper.IsMac(): frame.SetSize( (800,600) ) Where 800,600 would be some sort of sensible number for Mac screens. (If feeling really brave you could take the current screensize and make the Window about 70% of that size). The two lines commented out are what they do in the demo which make the window the same size and position as its parent. The result is it covering the parent and making it look like the parent disappeared. Not a good idea. Roger |