Skip to content

Display of widgets for 'no_write' PVs #3368

@rjwills28

Description

@rjwills28

We've recently been converting some OPI screens to BOB format and noticed that the appearance of a no_write widget looks slightly odd when there is a colored background behind it. For comparison I am showing what it looked like in CSS vs Phoebus.

Image Image

Left: CSS - text is greyed out.
Right: Phoebus - opacity of the ChoiceButton is set to 40%

As I said, the Phoebus display looks a little odd and makes it look like there is a layering issue. It doesn't look obvious in this case that this is no_write widget.

I was just wondering if there is a better of way of displaying a no_write widget - perhaps changing the font color instead although I am aware that the opacity change is just following what JavaFX does when a widget is disabled.

In addition, I noticed that only some widgets display a red 'x' when you hover over them if the PV is no_write. For example, the ChoiceButton, TextEntry and spinner do, but other Control widgets like the Boolean Button, CheckBox or RadioButton do not. Is there a specific reason for this or should the hover over 'x' also be added here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions