[issue] Spreadsheet cell colour with Alias?

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
Hologram
Posts: 201
Joined: Thu Nov 03, 2022 3:05 pm

[issue] Spreadsheet cell colour with Alias?

Post by Hologram »

In the Spreadsheet workbench, does anyone know whether the Alias highlight color can be changed?
There's no listing of the HEX code nor of an rgba value in the stylesheet that corresponds to this color, nor is there a color box in the preferences for the spreadsheet editor.

The issue appears to be more widespread, because it appears across all the default stylesheets and also in ExtremeProDark, so it appears to be hardcoded. Thing is, with any of the dark interface styles that use white letters (e.g. ExtremeProDark, Behave dark) it becomes impossible to read the contents of the cell.
Spreadsheet alias.png
Spreadsheet alias.png (24.48 KiB) Viewed 640 times
Parameter A has an alias.
Parameter B has an alias, but is readable when I have the cell selected (you can style selected cells and their font color in the Stylesheet).
Parameter C shows that I am using a white letter styling as default.
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: [issue] Spreadsheet cell colour with Alias?

Post by Syres »

User avatar
MisterMaker
Posts: 739
Joined: Mon Sep 21, 2020 7:41 am

Re: [issue] Spreadsheet cell colour with Alias?

Post by MisterMaker »

Should enable the theme not the stylesheet of extreme pro dark and then reboot.
It should be fixed by adding following code to the theme cfg file: (below is purple)

Code: Select all

          <FCParamGroup Name="Spreadsheet">
            <FCText Name="AliasedCellBackgroundColor">#9b4de6</FCText>
          </FCParamGroup>
ExtremeProDark has this but you need to reboot Freecad.
Post Reply