TIP #368: LISTBOX JUSTIFICATION OPTION ======================================== Version: $Revision: 1.1 $ Author: Russell Davidson State: Draft Type: Project Tcl-Version: 8.7 Vote: Pending Created: Monday, 10 May 2010 URL: http://tcl.activestate.com/cgi-bin/tct/tip/368.html Post-History: ------------------------------------------------------------------------- ABSTRACT ========== This TIP is to allow right and center justification of listboxes using *-justify* as an option. RATIONALE =========== Sometimes a listbox needs right or center justification for the right visual effect. For example lists of numbers, particularly money amounts, look better right justified. Currently, only left justification is possible. SPECIFICATION =============== It is proposed that a *-justify* option be added to the *::listbox* widget, which may be *left*, *right*, or *center* to allow different justifications. The default setting will be *left*. IMPLEMENTATION ================ A patch exists in SourceForge (FRQ 2996762 ["]). COPYRIGHT =========== This document has been placed in the public domain. ------------------------------------------------------------------------- TIP AutoGenerator - written by Donal K. Fellows