chiark / gitweb /
Auto-crop notification message in case it's longer than the window
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Tue, 27 Oct 2015 20:59:49 +0000 (16:59 -0400)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Tue, 27 Oct 2015 21:01:23 +0000 (17:01 -0400)
commit5e459bf9f762ddb3618ea07e2844ee0d05047aaf
treef8278ca1fe7d69fb1d083bdac7146102026a0e33
parent789bcfde7e75de5b4975e7bb7245e407414d648a
Auto-crop notification message in case it's longer than the window

If the scene view is smaller than required for the notification message
we must crop the text and add elipsis to it so it fits, otherwise,
the message will simply disappear.
Fixes T254
Cura/gui/util/openglGui.py