Re: [Xswt-developer] Xswt-developer Digest, Vol 2, Issue 5
Brought to you by:
dvorme
|
From: <ha...@id...> - 2006-08-16 07:59:27
|
David, > -----Original Message----- > Date: Sun, 09 Jul 2006 13:29:20 -0500 > From: "David J. Orme" <dj...@co...> > Subject: [Xswt-developer] New task list > > Hallvard, > > b) I've extended the style sheet test, and added comments > about additional style sheet things it would be nice to support. Concerning this suggestion (cut from the style test): <!-- Should be able to just define grabHorizontal on the layoutData and make it apply to any GridData on any type of object --> <composite x:id="grabHorizontal"> <layoutData x:class="gridData" grabExcessHorizontalSpace="true" horizontalAlignment="FILL"/> </composite> Is this meant to declare that all children added to a composite with this style should automatically "inherit" this particular layout data? I'm not sure if it makes sense to have a mechanism where a parent style pushes default values into the children. In this case it makes less sense, since layout data may apply to the parent (as a child) and the child. Perhaps you can clarify the suggestion? Hallvard |