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

Disabled buttons should be gray by default #8717

Closed
jsignell opened this Issue Mar 5, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@jsignell
Copy link
Member

jsignell commented Mar 5, 2019

ALL software version info (bokeh, python, notebook, OS, browser, any other relevant packages)

Python version      :  3.6.8 |Anaconda, Inc.| (default, Dec 29 2018, 19:04:46) 
IPython version     :  7.1.1
Tornado version     :  5.1.1
Bokeh version       :  1.1.0dev8
BokehJS static path :  /Users/jsignell/conda/envs/panel-dev/lib/python3.6/site-packages/bokeh/server/static
node.js version     :  v7.10.0
npm version         :  4.2.0

Description of expected behavior and the observed behavior

Disabled buttons should be gray by default so that it is clear that they are disabled. Now it seems that button color gets muted when disabled which is fine unless the button background is white which it is by default.

I first brought up this issue here: pyviz/panel#275 where it's been noted that other widget behavior is similar.

Complete, minimal, self-contained example code that reproduces the issue

from bokeh.io import show
from bokeh.layouts import widgetbox
from bokeh.models.widgets import Button

button = Button(label="Foo", disabled=True)

show(widgetbox(button))

Screenshots or screencasts of the bug in action

screen shot 2019-03-05 at 11 50 37 am

@jsignell

This comment has been minimized.

Copy link
Member Author

jsignell commented Mar 7, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.