On 09/18/2013 10:12 AM, Michael T. Pope wrote: > In git.eb4564c have got rid of another FreeColDialog, the one that > displays a group of ModelMessages. The replacement uses the > (surprisingly rarely used) InformationPanel, to which I have added > optional buttons to display the source of the message (recovering > functionality lost when dropping the dialog). This is rather > preliminary, and could well be generalized --- I intend to revisit it > after a bit of play testing. As usual though, I have just brutally > tacked on another graphic element with minimal thought to the layout, > so InformationPanel could do with review from the MigLayout expert. > > Meanwhile in testing today I can confirm that unit labelling out of > TilePopup is improved (Artillery, Wagon Train, Treasure Train, ships, > Free Colonist, Soldier (Free Colonist), Pioneer (Free Colonist), > Master Carpenter, Hardy Pioneer are all ok now), but I am still seeing > plural Jesuit Missionaries, Veteran Soldiers and Seasoned Scouts. > The EndTurnDialog is also borked --- is it time to replace > Unit.getFullLabel with Messages.getLabel? > > Speaking of EndTurnDialog, IMHO the default width is a bit narrow given > that locations like "High seas east of Nieuw Amsterdam" are quite > common. However my first two guesses of what to change here proved to > be wrong. > > Cheers, > Mike Pope
I have widened the EndTurnDialog. It turned out to be easy and straightforward. However, it took me quite a while to figure out that my code was, in fact, working as designed, since the game constantly resized the dialog according to the client option settings from the saved game! You may have suffered from the same problem. At any rate, you need to start a new game in order to see the wider panel, unless you want to edit the saved client options. Regards Michael ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk _______________________________________________ Freecol-developers mailing list Freecol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freecol-developers