Consultor Eletrônico



Kbase P61344: How to change the height of column labels in browse?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/6/2004
Status: Unverified

GOAL:

How to change the height of column labels in browse?

FIX:

The two following options have been tested successfully with 9.1D07.  They change the height of all the column labels of a given browse, because the height is the same for all the column labels of a browse:

1) Have a label with multiple lines with the exclamation point syntax, such as "Line1!Line2"  (you can even go for more than 2 lines).
Note that:
-this can be done dynamically to make all column labels higher
-removing the '!' dynamically in all labels does not allow to make the height of column labels thinner.
-this technique results in a height equal to n time browse font height, n being an integer (not decimal)

2) Set the font of the browse widget before it is realized.  Then the height of the column labels and of the rows is automatically adapted to fit the font height.