The International Simutrans Forum

 

Author Topic: [gui] Text input boxes do not change size  (Read 628 times)

0 Members and 1 Guest are viewing this topic.

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1505
    • Simutrans-BLOG
  • Languages: ES
[gui] Text input boxes do not change size
« on: June 04, 2020, 08:59:15 PM »
I have noticed that the lines window seems to be the only window where the input boxes change the size with the themes.

Look at the image.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10228
  • Languages: De,EN,JP
Re: [gui] Text input boxes do not change size
« Reply #1 on: June 07, 2020, 01:50:37 PM »
The line windows use the old, non\scalable code and thus uses its own sizing. Which parameter did you change to increase editbox size? The large theme with a large font has the correct size.

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1505
    • Simutrans-BLOG
  • Languages: ES
Re: [gui] Text input boxes do not change size
« Reply #2 on: June 07, 2020, 03:41:20 PM »
There is no parameter, so it automatically adapts to the size of the arrows, which makes perfect sense if you want to keep the theme symmetrical (With the arrows of the filters for example).

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10228
  • Languages: De,EN,JP
Re: [gui] Text input boxes do not change size
« Reply #3 on: June 08, 2020, 06:56:37 AM »
The edit boxes follow the mainly the font size. What should they folllow the arrow size?

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1505
    • Simutrans-BLOG
  • Languages: ES
Re: [gui] Text input boxes do not change size
« Reply #4 on: June 08, 2020, 12:14:01 PM »
I think it should follow the size of the "arrows", but this only for the minimum size, if the font size is bigger then the size of the text boxes should be adapted to the (large) font size. 8)

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10228
  • Languages: De,EN,JP
Re: [gui] Text input boxes do not change size
« Reply #5 on: June 09, 2020, 02:23:31 AM »
It would make much more sense to follow the size of the button for me.

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1505
    • Simutrans-BLOG
  • Languages: ES
Re: [gui] Text input boxes do not change size
« Reply #6 on: June 09, 2020, 03:33:45 AM »
It would make much more sense to follow the size of the button for me.
Certainly, but what will happen to large fonts?. ???

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10228
  • Languages: De,EN,JP
Re: [gui] Text input boxes do not change size
« Reply #7 on: June 09, 2020, 05:00:32 AM »
Then the font will win.

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1505
    • Simutrans-BLOG
  • Languages: ES
Re: [gui] Text input boxes do not change size
« Reply #8 on: June 10, 2020, 12:42:43 AM »
Excellent, this seems reasonable to me.  ;D

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1505
    • Simutrans-BLOG
  • Languages: ES
Re: [gui] Text input boxes do not change size
« Reply #9 on: June 11, 2020, 09:40:36 PM »

A small detail, the search filter in the depots does not obey the size of the buttons "Using the latest version of the trunk".
Edit.
ohh the same thing happens in the line window, but I think it is because these windows are not yet adapted to the new auto scalable gui.  :P