[archived content]

Control.getAutoScaleSize method

public Size getAutoScaleSize(Font f)
public Size getAutoScaleSize()

Returns the font scaling dimensions of the control. This allows different fonts and themes to be used, and DFL controls can resize to fit the content accordingly. i.e. the difference between the scale size used to design the controls, and the current scale size, determines the new control size.

See also: ScrollableControl.autoScale, ScrollableControl.autoScaleBaseSize

Page last modified on June 26, 2008, at 09:59 PM