8000 Disabled buttons should be gray by default · Issue #8717 · bokeh/bokeh · GitHub
[go: up one dir, main page]

Skip to content

Disabled buttons should be gray by default #8717

@jsignell

Description

@jsignell

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: holoviz/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

< 5DAA /div>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0