You probably want to establish a standard look for the text in your application. There are four kinds of text whose properties you can specify in the Application painter: text, header, column, and label.
PowerBuilder provides default settings for the font, size, and style for each of these and a default color for text and the background. You can change these settings for an application in the Application painter and override the settings for a window, user object, or DataWindow object.
Properties set in the Database painter override application properties
If extended attributes have been set for a database column in the Database painter or Table painter, those font specifications override the fonts specified in the Application painter.
To change the text defaults for an application:
-
In the Properties view, click Additional Properties and select one of the following:
-
Text Font tab
-
Header Font tab
-
Column Font tab
-
Label Font tab
The tab you choose displays the current settings for the font, size, style, and color. The text in the Sample box illustrates text with the current settings.
-
-
Review the settings and make any necessary changes:
-
To change the font, select a font from the Font list.
-
To change the size, select a size from the Size list or type a valid size in the list.
-
To change the style, select a style (Regular, Italic, Bold, or Bold Italic) from the Font styles list.
-
To change font effects, select one or more from the Effects group box (Strikeout and Underline).
-
To change the text color, select a color from the Text Color list. (You do not specify colors for data, headings, and labels here; instead, you do that in the DataWindow painter.)
-
To change the background color, select a color from the Background list.
Using custom colors
When specifying a text color, you can choose a custom color. You can define custom colors in several painters, including the Window painter or DataWindow painter.
-
-
When you have made all the changes, click OK.