ucam-department-of-psychiatry / camcops

Cambridge Cognitive and Psychiatric Test Kit (CamCOPS)
Other
12 stars 8 forks source link

Fix styling of clickable labels #313

Closed martinburchell closed 10 months ago

martinburchell commented 12 months ago

On Android the Register me and More options buttons were defaulting to white foreground colour which was hard to read. Other platforms default to black. I've made these explicitly black. I've also changed the name used as the same rules apply to two buttons.

@RudolfCardinal Looking at the same style sheet, it looks like the No patient selected label was intended to be red but the rule was not applied to the child label widget of the QPushButton. So the text was appearing in the default foreground colour (again white on Android). I've fixed this so that this label is now red. Let me know if you'd prefer black. I don't know if it was ever red.