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

Scale, minor ticks and markers with ProgressBar widget #2275

Closed
ghost opened this issue May 25, 2022 · 2 comments
Closed

Scale, minor ticks and markers with ProgressBar widget #2275

ghost opened this issue May 25, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented May 25, 2022

Hello,

I have on CSS (*.opi file) a ProgressBar with scale, minor ticks and markers.
CSSProgressBar
But i can't find any way to implement this with Phoebus (*.bob file).
PhoebusProgressBar
Will these properties be implemented in Phoebus?

@kasemir
Copy link
Collaborator

kasemir commented May 25, 2022

Right, there's no 100% compatibility between the look of the different implementations, https://github.com/ControlSystemStudio/phoebus/wiki/Display-Builder-Compatibility.

For the progress bar, we use the underlying progress bar from the JavaFX toolkit, which is similar to the HTML5 <progress> tag or the Qt progress bar or the mac os progress bar etc.

What BOY used is closer to the "tank" widget, albeit horizontal instead of vertical:

Screen Shot 2022-05-25 at 9 33 21 AM

Do you want to look at the code for the tank widget and add a 'horizontal' property, which is by default false, but when checked would switch to horizontal rendering and would then be similar to some use cases of the BOY progress bar?

kasemir added a commit that referenced this issue Aug 19, 2022
#2275 : add horizontal property to widget Tank
@kasemir
Copy link
Collaborator

kasemir commented Aug 31, 2022

Closing with #2362

@kasemir kasemir closed this as completed Aug 31, 2022
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

1 participant