Skinning inconsistencies

From TrillWiki

Jump to: navigation, search

If you're stressing about understanding the logic behind something in SkinXML, don't worry, it may not always be you that's at fault.

  1. 'buttons' and 'resizeable-buttons' use different <background attributes for the mouse state. buttons use name="" and resizeable-buttons use type="", using the name="" for the position info (upperleft, etc)
  2. Order of importance.. DTD level things follow the rule that earlier overrides later. in the <trillian> level, earlier <components> override later. Inside many controls, however, it's backwards. Some controls (the list) actually SEEM to use both! (I think it's one ordering for icons overriding each other, but the other ordering for <size> stuff. I haven't quite figured out what exactly is going on with it though.)
  3. Mouse states are a pain. buttons use the mouse states: flat, over, push. The list controls use: normal, hover, select. Then the classic iconholder uses: flat, HOVER, push. (Of course, then to throw another wrench in, the menu-based iconholder can use a combination of these, like either 'flat' or 'normal', 'hover' or 'over', although I don't think they can use 'select', but I haven't checked.)
  4. Most ICQ controls use "DND", but the iconholder uses "do not disturb"
  5. The <action> for a drawer toggle button uses the name of the <component> instead of the name of the <drawer>. (What if I wanted to have two drawers that used the same component?) (I haven't gotten dual drawers working yet, but you see what I mean)
Personal tools