News:

Want to praise Simutrans?
Your feedback is important for us ;D.

r11101 expanded numberinput

Started by prissi, March 26, 2024, 05:47:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

prissi

I would like to revert r11101. To me, the now extremely wide numberput boxes look very ugly and the tiny number is almost lost in them. And the arrows are very far apart for easy mouse changing.


Roboron

I appreciate the fact that they are aligned and have the same size, but I have to agree they are too wide (at least the second ones). Ideally they would take the same size of the widest input number.

prissi

For that, one would need to add a third row of dummy objects ... can be done, but would need to be done for each of the affected dialogues. (Also the display settings i.e for traffic or map are now very wide.)

ceeac

IMO the stretchable numberinputs look much nicer, this is the primary reason why I changed it. Also, other components like comboboxes or textinputs are stretchable too, so it is more consistent if numberinputs are stetchable, too.

Quote from: prissi on March 26, 2024, 02:22:12 PMFor that, one would need to add a third row of dummy objects ... can be done, but would need to be done for each of the affected dialogues. (Also the display settings i.e for traffic or map are now very wide.)
It would indeed be a larger change to check and change all the dialogues containing numberinputs. I think it would be best to revert the change right now (since reverting to the previous behaviour does not break anything), and then redo the change properly after the release since I want to focus on GUI improvements after the release anyway.

isidoro

In my opinion, aligned input fields look much nicer than irregular ones.

Ranran


I think that by properly combining table and gui_fill_t, you can maintain alignment while preventing the width from becoming too wide.
The red frame is a table with two horizontal rows.
Then put gui_fill_t in the blue frame.
pak.256やpak.nipponのような複数タイル市内建築物があるpakセットはextendedではちゃんと遊べません。それどころかextendedの追い越し機能はバグまみれで修正が難しくなっており、都市機能および道路機能というゲーム土台部分を壊し、開発作業&コードメンテナンスの足かせになっている。それは最終的にプレイヤーの損失に他ならない。その原因は全て1人の日本人=ひめし@himeshi_hob(THleaderH)によるもの。再びフォーラムの先輩方のアドバイスをガン無視し、結局ほとんど修正されないままExtendedに実装されてしまった。彼は問題を認識しつつ5年以上放置して今なおOTRPの開発を続けている。あまりにも身勝手で無責任。日本の人達はそういう事実にちゃんと目を向けるべき (´・ω・`)

prissi

#6
I think this is the way ceeac wants to go and as long term goal this is certainly the best way. Alternatively, one could give the numberinput a default minimum width of 4 digits, and then they would align nicer, at least the smaller numbers.

r11105 enforces five digits minimum width. Maybe this should be a themeable parameter?