News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

[Android] The menu bar is displayed outside the screen limits

Started by Yona-TYT, July 13, 2024, 09:03:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT

This did not happen in previous revisions. Did anything change recently?.

I am using the latest night available on playstore.

Screenshot_2024-07-13-16-59-26-346_com.simutrans.jpg

prissi

We updated the SLD2 version. Maybe that is the problem.

I the dead space above the status bar dead or does it display something?

Yona-TYT

In the latest revision the windows now overflow when the orientation is vertical.
Screenshot_2024-07-14-19-01-16-418_com.simutrans.jpg
Screenshot_2024-07-14-19-00-51-662_com.simutrans.jpg

prissi

Too wide dialogs are now centered, there was still an error. Also I made several dialoges with statistics narrower if the screen is very narrow. Check r11341.

Yona-TYT

I only have problems with the paksets selection window (on startup) and the startup banner (this one is more important for me).

But the paksets selection window for some reason is not centered on the screen when simutrans starts in vertical orientation.
photo_2024-07-15_20-24-32 (2).jpg photo_2024-07-15_20-24-32.jpg



Edit

The factories window is huge with a lot of white space, maybe it can be made smaller too?.
photo_2024-07-15_20-33-56.jpg

prissi

I am not sure why the pakset selection is not centered. It is centered on all my tries with Windows when confining to a narrow portrait screen.

The factory widow cannot made smaller as there is not a sensible way to reduce the statistics to a three button width. One could of course threw out the statistics entirely for very narrow screens ...

Latest nightly should shows a slightly narrower banner window by moving the iron to the lower left corner if four buttons would not fit. However, the width is also given by the long revision text at the bottom.


prissi


Yona-TYT

Quote from: prissi on July 17, 2024, 11:38:32 AMBut have still a black top ...
No no, that border is not usable space, so I think everything is fine.



FLN

Quote from: prissi on July 16, 2024, 03:48:40 AMThe factory widow cannot made smaller as there is not a sensible way to reduce the statistics to a three button width.
May I ask, if it's possible to define two widths for the same window?

Like, there could be defined a narrower width for windows wich usually have this remarkable blank areas when they get opened, and a secondary broader width, for when the statistics panel gets called up.
This method then could be only applied for small screens...

Yona-TYT

Quote from: FLN on July 18, 2024, 06:46:33 PMMay I ask, if it's possible to define two widths for the same window?

Like, there could be defined a narrower width for windows wich usually have this remarkable blank areas when they get opened, and a secondary broader width, for when the statistics panel gets called up.
This method then could be only applied for small screens...
It seems that our @prissi already did it silently, but it looked very good with that scroll bar. :D

Screenshot_2024-07-18-23-27-36-695_com.simutrans.jpg





The load save game and load scenario windows also have problems caused by long text, maybe the same can be done with the start banner here too?.

Screenshot_2024-07-18-23-35-15-490_com.simutrans.jpg

prissi

The loadsave frame was easy and the online frame is also a little narrower as is the line list. But thats about it.

Yona-TYT

I think the size of the graphics 📈 is also affecting the minimum size in the convoy window.

Screenshot_2024-07-19-09-48-43-463_com.simutrans.jpg

prissi

Yes, but if it gets narrower, it will go to three buttons instead, so that space should be ok.

Yona-TYT

Quote from: prissi on July 20, 2024, 08:10:47 AMYes, but if it gets narrower, it will go to three buttons instead, so that space should be ok.
It's strange, the depot window has the same number of buttons but they are reduced a little more. Maybe something else is affecting the minimum size of the window?.
Screenshot_2024-07-20-19-08-53-940_com.simutrans.jpg

prissi

Yes, essentially the length of the translation. If the font size is large, then some button become larger than the usual standard size and widen the whole dialog. That of course is only visible after building the dialog. I used a trick for the factory statistics. But it is quite some effort. Simutrans really requires big wide screens and is borderline usable on a smartphone.