Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rowheader gray25 color #254

Open
AhmedMatboly opened this issue Apr 7, 2024 · 1 comment
Open

rowheader gray25 color #254

AhmedMatboly opened this issue Apr 7, 2024 · 1 comment

Comments

@AhmedMatboly
Copy link

can you make rowheader color choicable not restricted to gray25 color

@dmnfarrell
Copy link
Owner

I've changed this so you can configure the colors in the headers more easily.
Here's an example:

pt = Table(frame, dataframe=df)
options = {'fontsize': 10,
        'cellwidth': 60,		
        'colheaderbgcolor': 'orange',
        'colheaderfgcolor': 'blue',
        'rowheaderbgcolor': 'yellow',
        'rowheaderfgcolor': 'blue',
        'rowselectedcolor': 'magenta'}
config.apply_options(options, pt)
pt.show()

so the headers no longer use the 'textcolor' variable

You can also use the preferences dialog. There is now a row header color option:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants