Open
Description
openedon Oct 22, 2024
Based on this discussion #2548 (comment)
We probably could improve the elementVisibility breakpoits based on the new default calculations.
Currently we do the following:
- first we compute the heightBasedFontSizes and the element visibility for title/subtitle/extra/value based only on height (with
getMetricTextPartDimensions
) - then we compute the fit fontsize for the value (with
getFitValueFontSize
) - and then we update the calculated value font size based on the desired configuration (fit, default/snap)
We can probably change this to compute the element visibility after that to increase the visibility of more text as possible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment