VxAlignBaseLines(VTCL)

VxAlignBaseLines(VTCL)


VxAlignBaseLines -- set top offset of source widget to line up with baseline of target widget

Syntax

VxAlignBaseLines targetWidget sourceWidget [ currentOffset ]

Description

Given two widgets which have been created with the source widget connected via -alignTop to the target widget, this sets the top offset of the source widget so that its baseline lines up with the target widget's baseline.

Options

targetWidget
The widget you are aligning to.

sourceWidget
The widget that will be adjusted.

currentOffset
Any top offset the target widget already has which must be taken into account. (This is optional; the default is 0.)