Object Selection window unresizeable

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
Fanndal
Engineer
Engineer
Posts: 6
Joined: 03 Jan 2015 02:53

Object Selection window unresizeable

Post by Fanndal »

The Object selection window is all messed up. Does anyone know how I can possibly fix this annoying problem.
Attachments
Object selection window.png
Object selection window.png (300.63 KiB) Viewed 3454 times
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4766
Joined: 09 Sep 2007 05:03
Location: home

Re: Object Selection window unresizeable

Post 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.
Being a retired OpenTTD developer does not mean I know what I am doing.
Fanndal
Engineer
Engineer
Posts: 6
Joined: 03 Jan 2015 02:53

Object Selection window unresizeable

Post 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?
User avatar
Sylf
President
President
Posts: 957
Joined: 23 Nov 2010 21:25
Location: ::1

Re: Object Selection window unresizeable

Post 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.
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4766
Joined: 09 Sep 2007 05:03
Location: home

Re: Object Selection window unresizeable

Post 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.
Being a retired OpenTTD developer does not mean I know what I am doing.
aantono
Traffic Manager
Traffic Manager
Posts: 211
Joined: 15 Apr 2010 21:01
Location: Midwest, US

Re: Object Selection window unresizeable

Post 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?
Fanndal
Engineer
Engineer
Posts: 6
Joined: 03 Jan 2015 02:53

Re: Object Selection window unresizeable

Post 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.
User avatar
Sylf
President
President
Posts: 957
Joined: 23 Nov 2010 21:25
Location: ::1

Re: Object Selection window unresizeable

Post 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.
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4766
Joined: 09 Sep 2007 05:03
Location: home

Re: Object Selection window unresizeable

Post 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.
Being a retired OpenTTD developer does not mean I know what I am doing.
Eddy Arfik
Transport Coordinator
Transport Coordinator
Posts: 260
Joined: 09 Apr 2014 11:10

Re: Object Selection window unresizeable

Post 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.
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4766
Joined: 09 Sep 2007 05:03
Location: home

Re: Object Selection window unresizeable

Post by Alberth »

Good point.
Being a retired OpenTTD developer does not mean I know what I am doing.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 3 guests