Columns width

Generic UI allows you to edit width of any column. By default it is set to auto, but it can be specified in number which relates to pixels. Column width can be set up by adding width to the particular column you wish to change. Just like on example below.

columns: Array <GuiColumn> = [
	{
		header: 'Index',
		field: 'index',
		width: 60				// width in pixels
	}, {
		header: 'Character',
		field: 'character',
		width: 'auto'			// auto width
	}, {
		header: 'Real name',
		field: 'name'			// no width specified sets it to 'auto'
	}];

Related articles:

We use cookies to improve your experience. If you continue browsing, we assume that you consent to our use of cookies.