INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Bug(?) / Feature Request: Allow 3 states for the <Tree> Expand button  (Read 299 times)

markf2748

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 825

Currently I find that the Tree expand button (used in the left side panel Organization Tree and in the right side of the Options Popup Tree) only allows 2 states (see first attachment, shown for the attached 2-State image file).  I'd really like to liven things up a bit by adding a mouseover subimage for the Tree expand button (see the attached 3-State image file).  Mouseover text and background colors for the line work nicely, but I'd also like the button itself to temporarily change on mouseover.

In the Standard skin's main.xml:
<Tree>
. . .
    <Entry Name="ExpandButton" Bitmap="Tree_ExpandButton.png" NumberImages="2" />
. . .
</Tree>


Bug(?):  Modify to NumberImages="3" and supply an appropriate 3-State image. The button shows no mouseover action and mistakenly displays the "Over" (2nd subimage) for the "Pressed" state.

Feature Request:   Please make "ExpandButton" behave like other 3-State buttons (Normal, Over, and Pressed subimages) if possible, or provide some other way to skin a mouseover state subimage for it.  Behavior should carry over analogously to other Tree lists, such as the Options Popup Tree.

Note I can get the desired mouseover response for the Action Window buttons, but those are programmatically a somewhat different case.

Thank you.

11/4/2024  Clarify the bug description.  Attach 2-State PNG file (works as shown) and 3-State PNG file (MC displays only its first 2 button subimages - no mouseover action), both designed for dark skins.

11/3/2024 - edited for clarity.
Win 11 Pro 64-bit | MC 33.0.37
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!

Coming next build:
NEW: Added support for three state tree expand buttons to show a mouse over image.

Thanks for the help.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up