Localization Component

Fnd_Loc_FixButtonWidths

Fnd_Loc_FixButtonWidths (->button1; ->button2{; ->buttonN})

Legacy manual page 149

Parameters

ParameterTypeDescription
button1..buttonNPointerPointers to two or more buttons

Description

Adjusts all of the button widths of two or more vertically aligned buttons so they all have the same left and right coordinates of the widest button of the group. Designed to be called after calling Fnd_Loc_DuplicateList on each of the buttons in the group. For example, imagine we have three buttons as shown here:

If we use the Fnd_Loc_DuplicateList method to change the button labels to French, the size of the buttons will all be increased as needed. But after the call, each button will have a different length. So we pass pointers to each of these buttons to the Fnd_Loc_FixLabelWidths, and each button is set to the length of the longest button:

Fnd_Loc_FixButtonWidths (->bNew;->bView;->bDelete)
Extracted source text
            Fnd_Loc_FixButtonWidths (->button1; ->button2{; ->buttonN})

              Parameter                  Type             Description
              button1..buttonN           Pointer          Pointers to two or more buttons

            Adjusts all of the button widths of two or more vertically aligned buttons so they all have the same
            left and right coordinates of the widest button of the group. Designed to be called after calling
            Fnd_Loc_DuplicateList on each of the buttons in the group.
       For example, imagine we have three buttons as shown here:

       If we use the Fnd_Loc_DuplicateList method to change the button labels to French, the size of the
       buttons will all be increased as needed. But after the call, each button will have a different length.
       So we pass pointers to each of these buttons to the Fnd_Loc_FixLabelWidths, and each button is set
       to the length of the longest button:
          Fnd_Loc_FixButtonWidths (->bNew;->bView;->bDelete)