MakieOrg / Makie.jl

Interactive data visualizations and plotting in Julia
https://docs.makie.org/stable
MIT License
2.38k stars 302 forks source link

Cannot set fontsize with SliderGrid - GLMakie #2377

Open arthur-fyon opened 1 year ago

arthur-fyon commented 1 year ago

Hello,

By updating my Julia version, I just remarked that labelslidergrid! is deprecated. Thus, I had to use SliderGrid. However, there is no way to increase the fontsize of both the label and the current slider value. I tried the argument textsize such as with Button, but it didn't work. In addition, the documentation does not mention any fontsize tuning.

Making it possible would be super nice.

Thanks for reading me.

Regards, Arthur

SimonDanisch commented 1 year ago

This should be quite easy by adding a font attribute here: https://github.com/MakieOrg/Makie.jl/blob/master/src/makielayout/types.jl#L723 And then forward it here: https://github.com/MakieOrg/Makie.jl/blob/master/src/makielayout/blocks/slidergrid.jl#L67