(svn r17008) -Fix [FS#3061]: Resize matrix in station build window vertically according to font height.

This commit is contained in:
alberth
2009-07-31 22:08:19 +00:00
parent fc46f0651b
commit db73234ba1
2 changed files with 30 additions and 17 deletions

View File

@@ -60,6 +60,12 @@ enum WidgetDrawDistances {
WD_FRAMETEXT_LEFT = 6, ///< Left offset of the text of the frame.
WD_FRAMETEXT_RIGHT = 6, ///< Right offset of the text of the frame.
/* WWT_MATRIX */
WD_MATRIX_LEFT = 2, ///< Offset at left of a matrix cell.
WD_MATRIX_RIGHT = 2, ///< Offset at right of a matrix cell.
WD_MATRIX_TOP = 3, ///< Offset at top of a matrix cell.
WD_MATRIX_BOTTOM = 1, ///< Offset at bottom of a matrix cell.
/* WWT_STICKYBOX */
WD_STICKYBOX_WIDTH = 12, ///< Width of a standard sticky box widget.
WD_STICKYBOX_LEFT = 2, ///< Left offset of sticky sprite.