fix(ui): size of the slice selector index text
Description
Adjusts the size of the index label next to the slice selector slider. We use the current font metrics and the current maximum index to compute accurately the needed size to display.
How to test it?
Display the slice selector in Sightviewer. Try with a small and a big DICOM image.