-
Notifications
You must be signed in to change notification settings - Fork 11
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
userCalcs10 screen renders poorly in Phoebus #29
Comments
The problem is that CSS is adding sliders, presumably because the widgets are larger than the allotted size in the display. This is a composite display using the userCalcs_line.bob for each row. I have played with both the CSS screens and the medm screens to try to fix the problem, but have not succeeded yet. |
Odd that userTransforms10 does not have the same behavior. Uses similar design. userCalcs_line box is 215x20 calc/calcApp/op/adl/userCalcs10.adl Lines 140 to 149 in 132daf1
calc/calcApp/op/adl/userCalcs_line.adl Lines 6 to 19 in 132daf1
userTransforms_line box is 195x20 calc/calcApp/op/adl/userTransforms10.adl Lines 154 to 163 in 132daf1
calc/calcApp/op/adl/userTransforms_line.adl Lines 6 to 19 in 132daf1
|
Looking at a difference between
|
This line is important:
Changing it I suggest reducing the font size and vertical box size in the |
Just the box height. MEDM sets the font size from the box height. Locally, with this change: diff --git a/calcApp/op/adl/userCalcs_line.adl b/calcApp/op/adl/userCalcs_line.adl
index 65fd961..2341f9a 100644
--- a/calcApp/op/adl/userCalcs_line.adl
+++ b/calcApp/op/adl/userCalcs_line.adl
@@ -158,7 +158,7 @@ text {
x=195
y=10
width=20
- height=10
+ height=9
}
"basic attribute" {
clr=14
@@ -174,7 +174,7 @@ text {
x=195
y=0
width=20
- height=10
+ height=9
}
"basic attribute" {
clr=14 then convert to BOB: phoebus.sh -main org.csstudio.display.converter.medm.Converter -output /tmp/ -force userCalcs_line.adl the screen looks as expected in phoebus: |
Something is wrong with the handling of the box size for the 10 widgets:
Not a problem for other screens, such as userArrayCalcs10:
The text was updated successfully, but these errors were encountered: