The International Simutrans Forum

 

Author Topic: Position of the combo box is displayed below the proper position in some case  (Read 255 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran

  • Devotee
  • *
  • Posts: 1467
  • Languages: ja
Thank you for your daily maintenance.

After suffering from this issue for a while in the extended code, I realized that it is a simutrans issue. (´・ω・`)

When the font size is increased, the position of the combo box may be displayed below the proper position.
The correct position, that is, at the same height as the label, or in the cell of the table.


For example, in Yu Gothic, 16px example:
The combobox is clearly visible at the bottom of the frame.

Extended(with GUI debug mode)


Standard(r9274)



Extended(with GUI debug mode)


Standard(r9274)



Extended(with GUI debug mode)


Standard(r9274)


The last is the most obvious example. The Japanese translation is bit different, but the code in the load font dialog is the same between standard and extended.
The GUI debug display shows that the combobox is out of the frame.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4849
  • Languages: EN, DE, AT
Please try with r9376

Offline Ranran

  • Devotee
  • *
  • Posts: 1467
  • Languages: ja
It seems to have been fixed. Thank you very much.  :)