//this calculates all stuff needed to display the gump properly
        protected void DeterminePageLayout()
        {
            _PropsList = CliLoc.GetPropertiesList(_Object);

            if (_PropsList == null)
            {
                _Width  = 100;
                _Height = 100;
                return;
            }

            //determine the required width of the gump based on the object property list contents
            _Width = Math.Max(ARTWORK_WIDTH + 40, CliLoc.PixelsPerCharacter * CliLoc.GetMaxLength(_PropsList) + 50);

            _Height = ARTWORK_HEIGHT + _PropsList.Count * EntryLineSpacing + 60;
        }