gui: trim displayed string for string variables (spaces)
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Wed, 8 Jul 2020 07:53:51 +0000 (09:53 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Wed, 8 Jul 2020 12:10:04 +0000 (14:10 +0200)
commite7d38ad8abd34beaec3f9078c9ade9c422707a5c
tree8931c17958ac800feee185b2ee9f98e150b77d74
parent273fd32809f3e2ba6e98540966db0da221704c68
gui: trim displayed string for string variables (spaces)

The current gui always renders strings in the datasheet view
with the full width by adding spaces to the end of a string.
This patch renders the strings in the same way as they are rendered
in the status edit box above the cells array, i.e. trailing whitespace
is removed. Editing strings is straightforward.
src/ui/gui/psppire-data-store.c