-
Notifications
You must be signed in to change notification settings - Fork 41
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
WellLogViewer, Python - Prevent cropping of unit in readout #1888
Labels
Comments
Any updates/suggestions on how to solve this issue? The users get caught up on this. |
Thanks for the report @eirik-morken. What would be the preferred general solution here? Limit readout to X significant digits? |
It could be limit amount of digits, dynamically or manually have more flexibility to increase size of readout or a mix of both I guess. |
Vladimir-Kokin
added a commit
that referenced
this issue
Mar 5, 2024
- Refactor readout code, set HTML elements CSS props with CSS style when possible to allow it customization: font size, readout and readout elements widthes and so on - Long track captions, readout names, values and units truncated with ellipsys - Add tooltips to show not truncated text See #1715, #1874, #1888
hkfb
pushed a commit
that referenced
this issue
Mar 5, 2024
# [1.5.0](https://github.com/equinor/webviz-subsurface-components/compare/well-log-viewer@1.4.8...well-log-viewer@1.5.0) (2024-03-05) ### Features * Track caption and readout font size and text truncation ([#1941](#1941)) ([ff14b41](ff14b41)), closes [#1715](#1715) [#1874](#1874) [#1888](#1888)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is an issue where a long value in the readout is not scaled properly, leading to the readout extending outside the visible box. This should say "g/cm3".
Recreated in storybook where MFOA gets too many numbers, here just the outer line disappears. If the combined length of number and unit is too long then the unit starts to disappear.
This is always prevalent in my viewer. Making the box the viewer exists in larger does not help as the viewer just scales accordingly and same problem occurs.
Is this a bug that could be fixed or is there some workaround?
The text was updated successfully, but these errors were encountered: