From: Alex T. <al...@tw...> - 2006-06-02 20:09:24
|
There's a new version of the PythonCard "layoutEditor with Sizers included" now available. The only change is that it now has a mode where you can display the main (i.e. layout) window using the sizers that have been defined. This means that you get immediate feedback on any changes to the sizer allocation or properties, so is much better for getting the sizer layout to look just right. Existing testers : this can be found in the same place as the earlier version, but now called PythonCard-snap-1.1.zip If you'd like to test it - please get in touch with me for the URL, etc. Update notes ------------- DONE SINCE 1.0 # switch to using sizer-based layout for main window. There is a new Menu entry : Options / Show Layout with Sizers When this is checked, the sizers defined are used for the layout display within the layoutEditor, and when unchecked the static component positions are used instead. When the resource file is written, the static positions are written, regardless of which display style is being used. Note there are some minor anomalies when you switch display mode (e.g. if you have components selected, they will be repositioned by the sizers - but their 'handles' won't be). If you find any of these get in the way of working (as opposed to being simply a minor annoyance do let me know about them). Also, the initial size of components (such as the textArea) is still significant, since it sets the minimum size to be used. Currently, this will always be the size used in the static layout - so sometimes you may need to flip back to the static display mode in order to change a component size. Note that same anomaly exists if you manipulate the layout the layout within the sizer window (e.g. you swap the order of two components within a sizer, or change a component's border value, or ...) - the components move around but the handles don't always keep up. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.1/354 - Release Date: 01/06/2006 |
From: Winston W. <win...@st...> - 2006-09-20 22:07:59
|
Hi Alex- A while back you were working on a version of PythonCard that =20 included Sizers. Has that work been incorporated back into the main =20 PythonCard CVS repository? Would you recommend using your "snap 1.1" =20= version from June, or the CVS version? -Winston On Jun 4, 2006, at 12:43 PM, Winston Wolff wrote: > Alex- > > Here are my comments on the layout editor. Also attached are some =20 > screenshots so you know what it looks like on the Mac. > <TestingTheSizer.png> > <SizerEditorAndProperties.png> > > PythonCard 1.1 > -------------- > > Comments > -------- > =95 It works on the MAC. It's great. > =95 Dragging of components in SizerEditor works very intuitively. > > > Suggestions > ----------- > > =95 Edit Properties of the sizer is very common. Add a button for it =20= > in the Sizer > Editor. > > =95 Alternatively, use the existing Property Editor window instead of =20= > a new Sizer > Editor window. That will minimize window clutter. > > =95 Perhaps you can also put the SizerEditor into the list of =20 > components in the > PropertyEditor, thereby getting all the functionality into one =20 > window. > > =95 When you select a component in your window, it should also be =20 > selected in the tree view. > > > > ______________________________________________________ > winston wolff - (646) 827-2242 - http://www.stratolab.com > learning by creating - video game courses for kids in new york > > ______________________________________________________ winston wolff - (646) 827-2242 - http://www.stratolab.com learning by creating - video game courses for kids in new york |
From: Alex T. <al...@tw...> - 2006-09-21 09:37:06
|
Winston Wolff wrote: >Hi Alex- > >A while back you were working on a version of PythonCard that >included Sizers. Has that work been incorporated back into the main >PythonCard CVS repository? Would you recommend using your "snap 1.1" >version from June, or the CVS version? > > > It hasn't been incorporated into CVS. The snapshot includes support only for BoxSizers, not for GridBagSizers, and until that's done it won't be ready for CVS. I started adding Gridbag support, but didn't like the way it turned out, so have taken it out ready to try again - but as yet, I haven't found time to do that. I'm afraid it's going to be a while before it's done. For now, it has to be the "snap 1.1" to get sizer support. -- Alex Tweedly al...@tw... http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.6/453 - Release Date: 20/09/2006 |