# Justification in a TreeView

**URL:** <https://www.ruby-forum.com/t/justification-in-a-treeview/238692>\
**Category:** Ruby-Gnome 2\
**Created:** [January 23, 2014, 9:23pm UTC](https://www.ruby-forum.com/t/justification-in-a-treeview/238692 "2014-01-23T21:23:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [January 23, 2014, 9:23pm UTC](https://www.ruby-forum.com/t/justification-in-a-treeview/238692/1 "2014-01-23T21:23:28Z")

</div>

Hi,

I’ve recently been attempting to port an application written using a  
different GUI toolkit to gtk2. The application makes use of several  
displays that present data in a table format, like a spreadsheet. I  
gather that the canonical way of doing this using ruby/gtk is via a  
TreeView+ListStore combo, and I have implemented it this way, Some  
columns contain monetary amounts, and for these the data should be  
presented right-justified, but after extensive googling I have been  
unable to figure out how to do this. Please, give advice!

–  
Will P.
