Skip to main content
Topic: Factory info window too narrow after addition of decimals (Read 3072 times) previous topic - next topic

Factory info window too narrow after addition of decimals

After the addition of decimal points both to the stored amount of goods and the consumption percentage of them, the info window for the factories no longer is wide enough to fit the strings, at least when the unit is not a one letter tag, f ex Paletten.  For the Production info the situation is even worse, since the goods category needs to be added there as well. And since the window is not resizeable, there is no way to get the needed information.

So either the info window needs to be wider, or the window made resizable or the amount of information on each line be trimmed down. One possible trim would be to not repeat the unit both for the stored amount and the storage capacity, another to remove the decimal at least on the percentage (though that will not buy us much real estate). It could also be possible to not allow units longer than f ex 3 letters, but then they would in many cases be so cryptic that they needed to be explained somewhere.


Re: Factory info window too narrow after addition of decimals

Reply #1
That is a clear case of non pak64 problem, so I did not see this. Ok, lets remove decimals from the stored amount again.


Re: Factory info window too narrow after addition of decimals

Reply #3
Or a clear case of not enough testing ... reverted.

Re: Factory info window too narrow after addition of decimals

Reply #4
wouldn't adding resize button be better idea?

also, would it be possible to move Production and Consumption before Consumers and Suppliers list? If there is a lot of each (which is common case in late game) you need to scroll every time you click on facility.

Re: Factory info window too narrow after addition of decimals

Reply #5
This window is unfourtunately from the stone age, it is indeed derived from the house window. As such it is actually needed to redo the whole window. But that is slave work (as UI stuff usually is) so I postponed this since ages.

 

Re: Factory info window too narrow after addition of decimals

Reply #6
I see that the offending strings are like:
4.5 pallet/ 300 pallet

Maybe just change it to like:
4.5/300 pallet

I am probably missing something obvious. :)