Next: Handling the Selection Up: TixHList - The Previous: Creating Entries in

 

Controlling the Layout of the Entries 

There are two options to control the layout of the entries: the -showbranch option specifies whether branch lines should be drawn between parent entries and their children. The -indent option controls the amount of relative indentation between parent and child entries. Notice the -drawbranch option is turned on in figure 4-5 but turned off in figure 4-3. Usually, you need to set a bigger indentation when the branches are shown - we used an indentation of 14 pixels in 4-5 compared to 8 pixels in 4-3 .


http://tix.sourceforge.net