Page 1 of 1
Object Selection window unresizeable
Posted: 04 Jan 2015 10:35
by Fanndal
The Object selection window is all messed up. Does anyone know how I can possibly fix this annoying problem.
Re: Object Selection window unresizeable
Posted: 04 Jan 2015 11:39
by Alberth
If there is a high sprite in that set which uses all the that height, you're out of luck. OpenTTD displays the entire sprite (since there is no sane way to guess which part of a sprite should be shown to the user so it can be recognized).
If there are no high sprites in the set, it is probably a bug in the NewGRF, a duplicate of
https://dev.openttdcoop.org/issues/7327 and
http://bugs.openttd.org/task/6178 .
Height of NewGRF objects is measured in tiles rather than pixels. That is, the "height" property is "pixel_height / 8". (A rough first check seems to confirm that, you could put the building in the picture about 8 times in the available height.)
Talk to the NewGRF author to fix the specified heights of the objects.
Object Selection window unresizeable
Posted: 04 Jan 2015 16:36
by Fanndal
Thank you for your response. Will check this out, but, if " I'm out of luck " I'll need another option. Since the window stops at the top of my screen and won't go any higher I was wondering if it's releasable so I could move it up as well? KB+Mouse something?
Re: Object Selection window unresizeable
Posted: 04 Jan 2015 17:54
by Sylf
Fanndal wrote:Thank you for your response. Will check this out, but, if " I'm out of luck " I'll need another option. Since the window stops at the top of my screen and won't go any higher I was wondering if it's releasable so I could move it up as well? KB+Mouse something?
Out of luck really means that. Short of getting a larger monitor so you can display more horizontal pixels on the screen, or play without OpenGXF+ Landscape newgrf, you won't be able to see the bottom of that window.
Re: Object Selection window unresizeable
Posted: 04 Jan 2015 17:56
by Alberth
Fanndal wrote:Thank you for your response. Will check this out, but, if " I'm out of luck " I'll need another option. Since the window stops at the top of my screen and won't go any higher I was wondering if it's releasable so I could move it up as well? KB+Mouse something?
No, you're truly out of luck.
(The reason for not allowing the window to go higher is to keep access to the close button, so you can at least get rid of the window.)
Note that the resize button will not do you any good even if you could reach it. The normal size of the window is much less high, thus the fact that it grows beyond your screensize means you're looking at the minimal size of the window already. OpenTTD cannot make it smaller.
PS To reply on this message and stay in this topic, press "Quote" at the right, or "Post reply" at the left.
Re: Object Selection window unresizeable
Posted: 04 Jan 2015 18:42
by aantono
Sylf wrote:...or play without OpenGXF+ Landscape newgrf, you won't be able to see the bottom of that window.
Are you saying the problem is with OpenGFX+ Landscape newgrf?
Re: Object Selection window unresizeable
Posted: 04 Jan 2015 18:51
by Fanndal
Thank you. I did not see the reply button

. Guess I'll just swich to zen mode and sulk it up. Thank you for your help.
Re: Object Selection window unresizeable
Posted: 04 Jan 2015 22:10
by Sylf
aantono wrote:Sylf wrote:...or play without OpenGXF+ Landscape newgrf, you won't be able to see the bottom of that window.
Are you saying the problem is with OpenGFX+ Landscape newgrf?
Yes, I am.
Re: Object Selection window unresizeable
Posted: 05 Jan 2015 07:00
by Alberth
I don't know which Object NewGRF the OP uses, but it doesn't look like OpenGFX_Landscape to me, as that only has a windmill and a lighthouse afaik.
I refered to an issue of OGFX+Landscape, since it seems to be the same kind of problem.
Re: Object Selection window unresizeable
Posted: 05 Jan 2015 07:57
by Eddy Arfik
Fanndal wrote:The Object selection window is all messed up. Does anyone know how I can possibly fix this annoying problem.
Download the latest nightly of OpenGFX+ Landscape,
http://bundles.openttdcoop.org/ogfx-lan ... e-5468.zip
Alberth wrote:I don't know which Object NewGRF the OP uses, but it doesn't look like OpenGFX_Landscape to me, as that only has a windmill and a lighthouse afaik.
I refered to an issue of OGFX+Landscape, since it seems to be the same kind of problem.
The OP is showing the Airport Objects GRF, but that is probably because it's the first one loaded, I can also see the menu items below that for the landscape and infrastructure. If the (broken version) OGFX+ Landscape is loaded, it makes the window oversized for all object types, not just the ones provided by that GRF.
Re: Object Selection window unresizeable
Posted: 05 Jan 2015 11:28
by Alberth
Good point.