From: Chris N. <chn...@gm...> - 2007-08-29 20:30:27
|
Hello everyone, I am new to Python, PythonCard and this mailing list so bear with me as I a few questions that will probably seem somewhat trivial. I am currently developing an interface that I intend to use in both Linux and Windows and I am noticing a few 'quirks'. I did the original prototype for the interface in Windows and then loaded it up in the resourceEditor in Linux to take a look at it. A number of the components did not show up at all, several errors had occurred with regards to the default background color settings that the windows resourceEditor had added to components like multi-column lists. The resourceEditor in Linux handled this by not loading these components them but it also removed them entirely (i.e., if I saved the work without doing anything other than opening the file it would remove the offending components). I ended up fixing this by removing all of the lines which set the background color and, just in case the font lines as well (as Linux systems generally don't have Tahoma by default anyways). I am uncertain as to why, in Linux, PythonCard does not seem to handle the background color instruction though so perhaps someone can explain why this might be happening. The second thing was that once I had that fixed that I noticed that the position of many items was off from the way it had been set up in windows. I was actually expecting this since the size of GTK controls are different enough from windows controls to cause a problem. Is there a commonly accepted way to handle this? That's it for now, I am sure these are beginner questions but any help would be greatly appreciated. Thanks, Chris |