FS#2195 - NewGRF GUI improvement

Attached to Project: OpenTTD
Opened by Tiberius (Tiberius) - Wednesday, 06 August 2008, 16:15 GMT
Last edited by Remko Bijker (Rubidium) - Monday, 19 July 2010, 22:49 GMT
Type Patch
Category Interface
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 12
Private No


This is a improved version of NewGRF GUI window, using 2-column layout.
It supports window resizing, and drag-drop reordering of loaded NewGRF files.
This task depends upon

Closed by  Remko Bijker (Rubidium)
Monday, 19 July 2010, 22:49 GMT
Reason for closing:  Implemented
Comment by Ingo von Borstel (planetmaker) - Thursday, 02 October 2008, 15:08 GMT
update to r14423. Question: is the info part for the individual grf still sufficiently large?
Comment by Ingo von Borstel (planetmaker) - Friday, 28 November 2008, 19:40 GMT
fixed a small one-off error in the widget sizes, avoiding pixel trails when moving the window to the left. Otherwise unchanged.
Comment by Timitry (Timitry) - Thursday, 08 January 2009, 08:46 GMT
What a great improvement! The NewGRF-Window is so uncomfortable, especially if you want to add a lot of NewGRFs!
Please keep up the good work with it :)
Comment by Ingo von Borstel (planetmaker) - Thursday, 15 January 2009, 07:27 GMT
update to r15084 and a slight change in the button layout which is now a tiny bit more like the existing NewGRF UI

Questions to the devs: is it desirable to have an advanced setting to toggle between use of this new gui and the existing?
Comment by Ingo von Borstel (planetmaker) - Friday, 23 January 2009, 00:09 GMT
update to trunk r15211
Change: integration of the "check online content" button which hit trunk in the meantime.
Comment by Ingo von Borstel (planetmaker) - Sunday, 25 January 2009, 00:01 GMT
update to current trunk and fix of a few resizing issues and mixing up of two buttons.
Comment by Ingo von Borstel (planetmaker) - Sunday, 25 January 2009, 08:30 GMT
Sorry for the spam. I played around with this widget arrangements, especially testing a small size of this window, taking the game main menu as a reference for that. I think I could improve the layout quite a bit. See the attached screenshots for an impression how it looks like.

The two diff files are for r15256 and differ as follows:
v1 is the layout with two seperate file infos (newgrf_gui_320.png)
v2 is the layout with a unified file info (newgrf_gui_v2_320l.png, newgrf_gui_v2_normal.png)

newgrf_gui_v2_normal is the usual, un-resized window

I think the new (v2) layout has also in normal mode an advantage over the design as it was before: longer descriptions are now nearly always completely displayed due to the longer line length available for the text strings.
Comment by Lorand Balogh (batti5) - Thursday, 19 February 2009, 20:50 GMT
Ok, but this should be syncronised with BaNaNas.
Comment by Alberth (Alberth) - Thursday, 20 May 2010, 19:22 GMT
In r19829-r19845 the NewGRF gui got changed, much inspired by the proposals in this issue. Thanks go to planetmaker for his efforts.
What remains to be done here is checking whether the patch attached here has useful extras that can be ported to trunk.