The International Simutrans Forum

 

Author Topic: Loading labels z-index  (Read 811 times)

0 Members and 1 Guest are viewing this topic.

Offline ampersand

  • Devotee
  • *
  • Posts: 146
  • Languages: EN, FR, PL
Loading labels z-index
« on: April 23, 2020, 03:35:26 PM »
Am I doing anything wrong to have loading labels obscured by waiting bars below?

As loading label is a disappearing tooltip can I make it appear in front of the station name, not behind? (r8870)

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10528
  • Languages: De,EN,JP
Re: Loading labels z-index
« Reply #1 on: April 24, 2020, 01:13:13 AM »
This depends on the order of the tiles. If you go to the other end of the train, it will be in front.

Offline ampersand

  • Devotee
  • *
  • Posts: 146
  • Languages: EN, FR, PL
Re: Loading labels z-index
« Reply #2 on: April 24, 2020, 02:57:17 PM »
go to the other end of the train
Thanks, but this solution does not work, if I understand it all. The loading percentage appears only after hovering abovethe tile containing the first vehicle of the convoy.

Offline Freahk

  • Devotee
  • *
  • Posts: 1423
  • Languages: DE, EN
Re: Loading labels z-index
« Reply #3 on: April 24, 2020, 03:09:33 PM »
Exactly.
I guess that was a missunderstanding.
The label will always appear at the first vehicle of the train.
If the train was stopping there in the other direction, the bars would be hidden behind the "Loading" label.

Offline ampersand

  • Devotee
  • *
  • Posts: 146
  • Languages: EN, FR, PL
Re: Loading labels z-index
« Reply #4 on: April 24, 2020, 08:23:24 PM »
I see. So one solution is to always design stations so as they are entered from the left (east). Pity there is no way to display all tooltips in the uppermost layer.

Offline Freahk

  • Devotee
  • *
  • Posts: 1423
  • Languages: DE, EN
Re: Loading labels z-index
« Reply #5 on: April 24, 2020, 09:14:43 PM »
If it's really that important to you, then yes. Always design your station in a way that will display bars behind the "Loading" label.
Another workarround would be to move the station label.
If you really really want to have a different rendering order, you can for sure always implement it. Simutrans is an opensource project.

Offline ampersand

  • Devotee
  • *
  • Posts: 146
  • Languages: EN, FR, PL
Re: Loading labels z-index
« Reply #6 on: April 25, 2020, 12:56:20 PM »
move the station label
Tried this but have found no way to move it. Except for rebuilding the station.

Offline Freahk

  • Devotee
  • *
  • Posts: 1423
  • Languages: DE, EN
Re: Loading labels z-index
« Reply #7 on: April 25, 2020, 01:02:19 PM »
The label is always placed above the first tile of the station, that means the first tile in order of building time.

Offline Leartin

  • Oh no, not him again!
  • Devotee
  • *
  • Posts: 1572
  • PAK-DEV P192C
  • Languages: DE, EN
Re: Loading labels z-index
« Reply #8 on: April 25, 2020, 01:10:36 PM »
The label is always placed above the first tile of the station, that means the first tile in order of building time.
Not anymore, the label tries to position itself in the center of the station.

Offline Freahk

  • Devotee
  • *
  • Posts: 1423
  • Languages: DE, EN
Re: Loading labels z-index
« Reply #9 on: April 25, 2020, 01:55:37 PM »
Oh well, I didn't notice this. Guess that was not ported to extended yet.