[Kst] [Kst-plot/kst] ce66ae: Use the whole available space in the scalar/vector...

Nicolas Brisset nicolas.brisset at free.fr
Thu Nov 21 22:13:21 UTC 2013

  Branch: refs/heads/master
  Home:   https://github.com/Kst-plot/kst
  Commit: ce66aeecf4c85bc847f84b9212b2f1b6fc7ace6d
  Author: Nicolas Brisset <nicolas.brisset at free.fr>
  Date:   2013-11-21 (Thu, 21 Nov 2013)

  Changed paths:
    M src/widgets/matrixselector.cpp
    M src/widgets/matrixselector.ui
    M src/widgets/scalarselector.cpp
    M src/widgets/scalarselector.ui
    M src/widgets/stringselector.cpp
    M src/widgets/stringselector.ui
    M src/widgets/vectorselector.cpp
    M src/widgets/vectorselector.ui

  Log Message:
  Use the whole available space in the scalar/vector/matrix/string selectors.
I found the cause of the issue: we were truncating the text ourselves prior to adding the items instead of leaving it up to the
QComboBox's view to take care of it!
I also had to comment out some text which led to an empty scalar near the bottom of the list, because selecting this empty
scalar leads to a crash. But I don't know what the code was meant for. I haven't seen any side effect so I removed it to fix the
crash, but it would be nice if someone could check the side effects.

More information about the Kst mailing list