News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

Window height cannot be reduced

Started by Matthew, December 14, 2020, 09:35:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Matthew

The window height of convoys, and only convoys, cannot be reduced below a certain height, which is larger than the previous medium. I believe this is a bug, though I guess it is possible that it is a design compromise that was intended.

Steps to reproduce

1. Open Simutrans-Extended since 20-12-12 [I used the B-B build, which is SDL2, in Windows 10]
2. Open a convoy window
3. Move the size control in the bottom right-hand corner upwards, intending to reduce the height of the window
4. The window will not reduce below a certain large size.

Expected outcome: The window reduces to the smallest possible size (which IIRC was previously not much more than the "Follow Me" window)

The reason I would like to make the convoy windows smaller is so that I can follow multiple convoys simultaneously. The top window in this picture (taken on a 1080P monitor) is at the new minimum possible size:



At this size it is not always possible to see the focus convoy in the centre of the screen.

Possibly related: since the Great Merge yesterday, and only since then, the log file is showing many window resizing warnings:



These warnings seem to coincide with floating-point errors, but that may be unrelated.


(Signature being tested) If you enjoy playing Simutrans, then you might also enjoy watching Japan Railway Journal
Available in English and simplified Chinese
如果您喜欢玩Simutrans的话,那么说不定就想看《日本铁路之旅》(英语也有简体中文字幕)。

Ranran(retired)

Unfortunately, it's a new GUI engine spec. It cannot be made smaller than the size of the chart tab hidden by the specification of auto aligned gui, but it is a standard specification when it is left to the system.
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)

Roboron

The minimun size is limited by the chart tab size. This is why I proposed a while ago to move the details to a new tab, so the windows doesn't take so much unnecessary space (specially on mobile devices).

Ranran(retired)

I changed convoy info so that tab can be hidden as well as convoy detail.
However, there is still no kind feature to automatically size tabs properly. Once you make it smaller, put it back manually.
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)