Ticket #14721 (closed enhancement: fixed)

Opened 8 months ago

Last modified 8 months ago

Disabled text colour option in the ribbon bar

Reported by: wxBen Owned by:
Priority: low Milestone:
Component: GUI-all Version: 2.9-svn
Keywords: docs-needed Cc:
Blocked By: Patch: yes
Blocking:

Description

This patch allows a disabled text colour to be set in the ribbon bar. I thought I had submitted this patch already, but I see it as a difference between my code and the latest svn, so here it is again.

Existing ribbon bar applications are not impacted, as the disabled colour is by default the same as the enabled colour. But if you set it, then it will be used for disabled text items, as can be seen in the ribbon demo sample case.

Attachments

DisabledColour.diff download (5.9 KB) - added by wxBen 8 months ago.
DisabledColour.diff

Change History

Changed 8 months ago by vadz

  • keywords docs-needed added
  • priority changed from normal to low
  • status changed from new to confirmed

Could you please update interface/wx/ribbon/art.h? TIA!

Changed 8 months ago by wxBen

DisabledColour.diff

Changed 8 months ago by wxBen

My apologies Vadim, I am getting old! New patch with interface addition attached.

Changed 8 months ago by VZ

  • status changed from confirmed to closed
  • resolution set to fixed

(In [72619]) Add a setting for the disabled text colour to wxRibbon art.

Allow specifying the text for the labels of the disabled items separately.

Closes #14721.

Note: See TracTickets for help on using tickets.