# vtkCubeAxesActor2D (8.2.0), changing axis label font size (does not work)

**URL:** https://discourse.vtk.org/t/vtkcubeaxesactor2d-8-2-0-changing-axis-label-font-size-does-not-work/1485
**Category:** Support
**Created:** [August 5, 2019, 3:15pm UTC](https://discourse.vtk.org/t/vtkcubeaxesactor2d-8-2-0-changing-axis-label-font-size-does-not-work/1485 "2019-08-05T15:15:27Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![francek](https://discourse.vtk.org/user_avatar/discourse.vtk.org/francek/32/10505_2.png) [@francek](https://discourse.vtk.org/u/francek)
#### Post date: [August 5, 2019, 3:15pm UTC](https://discourse.vtk.org/t/vtkcubeaxesactor2d-8-2-0-changing-axis-label-font-size-does-not-work/1485/1 "2019-08-05T15:15:27Z")

</div>

Hi,

When I run [CubeAxesActor2D](https://vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CubeAxesActor2D) example and change the font size from

> tprop-\>SetFontSize(20);

to e.g.

> tprop-\>SetFontSize(40);

the actual font size does not change.

Any idea why/how to change label font size?

Thank you.

---

<div class="post-metadata">

### Author: ![tong\_yang](https://discourse.vtk.org/user_avatar/discourse.vtk.org/tong_yang/32/6355_2.png) [@tong\_yang](https://discourse.vtk.org/u/tong_yang)
#### Post date: [January 9, 2023, 2:55am UTC](https://discourse.vtk.org/t/vtkcubeaxesactor2d-8-2-0-changing-axis-label-font-size-does-not-work/1485/2 "2023-01-09T02:55:33Z")

</div>

I had the same problem, including modifying fonts(does not work)
