July 11, 2012

Vikuseth Vikuseth
Ant Farmer
76 posts

Showing long message in status bar

 

When i try to show a long message in staus bar , half of the message is not being displayed . Is there any way to show a long message in status bar ,breaking it in to two line ?

2 replies

July 11, 2012

Andre Andre
Area 51 Engineer
6076 posts

You can put a label in your status bar, and display a message in that as long as will fit in the label. I recommend against making it any longer than that. Users won’t read such a message anyway.

 Signature 

Looking for Qt developers to join our team @ i-Optics: https://qt-project.org/forums/viewthread/25393/

July 11, 2012

Lukas Geyer Lukas Geyer
Dinosaur Breeder
2074 posts

As Andre already said the status bar is not meant to display long text.

Another option would be putting a label in the status bar to display a short summary of the text and having a tooltip set on the label, which shows the longer text.

 
  ‹‹ Problems with running Release of Qt-Project      [Solved]How to call userdefined function from StyleSheet? ››

You must log in to post a reply. Not a member yet? Register here!