Opened 2 years ago

Closed 2 years ago

#14721 closed enhancement (fixed)

Disabled text colour option in the ribbon bar

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

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 (1)

DisabledColour.diff download (5.9 KB) - added by wxBen 2 years ago.
DisabledColour.diff

Download all attachments as: .zip

Change History (4)

comment:1 Changed 2 years 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 2 years ago by wxBen

DisabledColour.diff

comment:2 Changed 2 years ago by wxBen

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

comment:3 Changed 2 years ago by VZ

  • Resolution set to fixed
  • Status changed from confirmed to closed

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