nasa / openmct

A web based mission control framework.
https://nasa.github.io/openmct/
Other
12.06k stars 1.25k forks source link

Alphanumeric values are center-aligned #7564

Open ozyx opened 8 months ago

ozyx commented 8 months ago

Alphanumeric values are currently center-aligned but should be either left or right aligned based on point 2 in this open issue.

@charlesh88 : Values in alphas should be right-aligned or left; currently centered. When label is not displayed, switch to left flush - or just left flush everything.

Discussed in https://github.com/nasa/openmct/discussions/7563

Originally posted by **bangpradyumna** March 7, 2024 Hello, I've been creating a display in openmct using telemetry from YAMCS using openmct-yamcs plugin. However, Whenever I add a telemetry such as a Switch status (boolean) or any other telemetry (string/int/float) - there is always some excessive padding that is added by openmct itself. How do I reduce this or remove it altogether ? Attaching a picture for reference - in this screenshot, the label doesn't get enough space but the value takes excessive space. This leads to alot of wastage of space, any way to customize it ? ![image](https://github.com/nasa/openmct/assets/6296142/01bd40c9-e650-4444-9e03-81382496ab98)
ozyx commented 8 months ago

@charlesh88 this is still an issue, right?