Splitter window's 'sash gravity' property not stored in .xrc files.

Jurko Gospodnetić mangled at to.avoid.spam
Sun Feb 25 17:25:42 PST 2007


   Hi all.

   We noticed that the Splitter window's 'sash gravity' property does 
not get stored in the wxWidgets' GUI layout definition files in .xrc format.
Technical notes contained in 2.8.0 and 2.8.1 source distributions as 
well as the ones in the current CVS repository indicate that .xrc files 
are supposed to contain the 'sash position' property value but not the 
'sash gravity' value.

   Is this 'by design' or a defect?

   If this is actually a design choice, then are there any other such 
properties GUI layout related properties that do not get stored in .xrc 
files? It seems crucial that all GUI layout related properties get 
stored in .xrc files as otherwise it would not be possible to design the 
layouts in separate designer tools and use them if the main program by 
importing the .xrc file without having to manually set parts of the 
layout information from code.

   Best regards,
     Jurko Gospodnetić






More information about the wx-users mailing list