General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › Hide certain tag icons in tags on view
-
stonet November 25, 2009 at 12:07 pm
Hide certain tag icons in tags on view
November 25, 2009 at 12:07 pmParticipants 4Replies 5Last Activity 13 years, 4 months agoHi,
I'm trying to customize the tags on view of XMAX 5.5.
What I want to do is to hide specific tag icons (like the root tag icon) while keeping visible just the tag icons important to the users (the
and
tag icons). The content inside all the tags needs to be visible – I just want to hide the little tag icons for those tags of no interest to the users.
So far, I've been able to change the text and colour of the tag icons in the .ctm file.
Thanks for your help!
—
stonetDerek Read November 25, 2009 at 8:53 pm
Reply to: Hide certain tag icons in tags on view
November 25, 2009 at 8:53 pmThis is not a supported feature in XMetaL Author and XMAX. The only thing I can think of would be to change the colour to match the background colour of the document.
Su-Laine Yeo November 25, 2009 at 11:55 pm
Reply to: Hide certain tag icons in tags on view
November 25, 2009 at 11:55 pmIn the CTM file, you can also set an “alias” property on each element type. If you want the tags for a particular element type to be less-prominent, make the alias short.
stonet November 26, 2009 at 10:53 am
Reply to: Hide certain tag icons in tags on view
November 26, 2009 at 10:53 amThanks very much for your swift replies.
I've tried playing with the Alias and Tag Colour properties in the .ctm file, and that has improved things. I've set the 'unimportant' tags to white (to match the background colour) and a ' ' alias, and have set the 'important' tags to more prominent colours.
Another possible solution came to mind, that I might be able to add tag images to normal view using CSS. I've tried adding a background-image in the CSS, but can't get it to display.
Is this a viable alternative option?
Are there any other ways of adding tag icons to the normal view?
Thanks again for your help.
—
stonetDerek Read November 30, 2009 at 10:20 am
Reply to: Hide certain tag icons in tags on view
November 30, 2009 at 10:20 ambackground-image is not a supported CSS property and there is no way to replace the icons used for tags
stonet November 30, 2009 at 11:49 am
Reply to: Hide certain tag icons in tags on view
November 30, 2009 at 11:49 amIn the end, I created an XFT form with a custom tag icon as a picture, and set it to appear before the relevant tag.
I set this up using the 'Advanced Display Type' property for the tag in the CTM file, creating a new XFT form using the form designer.
Thanks again, both, for your help.
—
stonet -
AuthorPosts
- You must be logged in to reply to this topic.