
Thanks--I was able to figure this out from the help (although I must say, searching on the help does not always return the most useful entry--there are different topics related to CSS and folding, but only one talks about the CSS implementation details and the other doesn't link to the one I wanted. Definitely room for improvement in the help organization and content.) For some reason I didn't see my post until it was too late to report my success following RTFM :-) I also figured out how to use -oxy-nonfolding-child to maintain the navtitle of each subjectdef on collapse. I didn't see a way, however, to preserve the navtitle but still hide the sibling <shortdesc> in that case. Cheers, E. -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 512.554.9368 www.reallysi.com www.rsuitecms.com On 1/29/14, 7:41 AM, "Oxygen XML Editor Support" <support@oxygenxml.com> wrote:
Hi,
Right, something like this:
*[class~="subjectScheme/subjectdef"]{ -oxy-foldable:true; -oxy-folded:true; }
if you want the subjectScheme to be both foldable and folded by default.
Regards, Radu
Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
On 1/29/2014 1:33 PM, Roger Sheen wrote:
On Tuesday, 2014-01-28, at 20:28 CET, Eliot Kimber wrote:
I would really like to be able to expand and collapse the list in the main editor window (rather than using the outline view). Is there a way to do this through the CSS?
Hi Eliot,
You just need to use a few of oxygen’s custom CSS properties:
-oxy-foldable -oxy-folded -oxy-not-foldable-child
See
<http://www.oxygenxml.com/doc/ug-oxygen/index.html#topics/dg-folding-elem ents.html> for the details.
Regards,
Roger
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user