General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Hide certain tag icons in tags on view

  • stonet

    Hide certain tag icons in tags on view

    Participants 4
    Replies 5
    Last Activity 12 years, 7 months ago

    Hi,

    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!


    stonet

    Reply

    Derek Read

    Reply to: Hide certain tag icons in tags on view

    This 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.

    Reply

    Su-Laine Yeo

    Reply to: Hide certain tag icons in tags on view

    In 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.

    Reply

    stonet

    Reply to: Hide certain tag icons in tags on view

    Thanks 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.


    stonet

    Reply

    Derek Read

    Reply to: Hide certain tag icons in tags on view

    background-image is not a supported CSS property and there is no way to replace the icons used for tags

    Reply

    stonet

    Reply to: Hide certain tag icons in tags on view

    In 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

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support