TIP 368: Listbox Justification Option

Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2017 Conference, Houston/TX, US, Oct 16-20
Send your abstracts to tclconference@googlegroups.com
by Aug 21.
Author:		Russell Davidson <russelld@actarg.com>
State:		Withdrawn
Type:		Project
Tcl-Version:	8.7
Vote:		Pending
Created:	10-May-2010
Post-History:
Keywords:	Tk
Obsoleted-By: 441

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.

History