# Change letter size in interface messages

**URL:** <https://discourse.slicer.org/t/change-letter-size-in-interface-messages/35023>\
**Category:** Support\
**Created:** [March 22, 2024, 2:17pm UTC](https://discourse.slicer.org/t/change-letter-size-in-interface-messages/35023 "2024-03-22T14:17:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SANTIAGO\_PENDON\_MING](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/santiago_pendon_ming/32/66060_2.png) [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)\
**Post date:** [March 22, 2024, 2:17pm UTC](https://discourse.slicer.org/t/change-letter-size-in-interface-messages/35023/1 "2024-03-22T14:17:24Z")

</div>

Hi to everyone. Today I’m interested in interface configuration.

At this moment, the way I use to communicate info to the users is displaying text in the lower left corner using:

```auto
slicer.util.showStatusMessage("Editing completed")

```

And the result is:

 ![Captura de pantalla 2024-03-22 151448](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/9/29047df77c637fdb0d2dd2b91a7bdc306a989ce3.png)

My goal is make this text bigger, or display it in other stage with a bigger letter size.

Any suggestion or way to display text info? (I want to avoid using Python terminal and also I prefer not to use pop-up windows for that.

Thanks a lot once again 🙂

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [March 22, 2024, 2:33pm UTC](https://discourse.slicer.org/t/change-letter-size-in-interface-messages/35023/2 "2024-03-22T14:33:26Z")

</div>

That’s a standard Qt element, so I’m sure you can configure it, but maybe not in Python.

> **[QStatusBar Class | Qt Widgets 6.6.3](https://doc.qt.io/qt-5/qstatusbar.html#reformat)**
>
> The QStatusBar class provides a horizontal bar suitable for presenting status information.

But you can also add widgets to the status bar, so adding a label with a bigger font should be easy.

---

<div class="post-metadata">

**Author:** ![SANTIAGO\_PENDON\_MING](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/santiago_pendon_ming/32/66060_2.png) [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)\
**Post date:** [March 25, 2024, 9:36am UTC](https://discourse.slicer.org/t/change-letter-size-in-interface-messages/35023/3 "2024-03-25T09:36:30Z")

</div>

Hi @pieper. With your answer and some tries I finally achieve my goal. I will add to the post my code solution:

```auto
# Import modules
from __main__ import qt, slicer

# Create the message
message= "¡Hola desde Slicer 3D!"
label= qt.QLabel(message)

# Change the Font and Size:
etiqueta.setFont(qt.QFont('Times', 15))

# Use the Object statusBar()
barra_estado = slicer.util.mainWindow().statusBar()

# Add to the StatusBar the Label
status.addWidget(label)

# Reformat the StatusBar
status.reformat()

```

 ![Captura de pantalla 2024-03-25 103550](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/a/6ad1952287b241883e3f34e189adbdeeb5428a93.png)

Thanks so much once again.
