Consultor Eletrônico



Kbase P49518: When changing the column label font of a SmartDataBrowser th
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/22/2003
Status: Unverified

SYMPTOM(s):

When changing the column label font of a SmartDataBrowser the column width changes as well.

CAUSE:

The ADM2 changes the column size of the column according to the width of the new label. This is by design.

FIX:

Expected behavior.
If you want to work around this behavior you could consider to save the value of the WIDTH attribute before changing the label and to reassign to the column after having changed the label font like:

oldWidth = hColumn:WIDTH-PIXELS.
hColumn:LABEL-FONT = 6.
hColumn:WIDTH-PIXELS = oldWidth.