The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: z9999+ on January 24, 2010, 12:35:44 pm

Title: Clickable area on help window
Post by: z9999+ on January 24, 2010, 12:35:44 pm
Clickable area on help window is strange.
See attached image. Highlited area is clickable area for 'Mouse Help' text.
Many times when I clicked text, two help window will be opened at the same time.
Title: Re: Clickable area on help window
Post by: IgorEliezer on January 24, 2010, 03:41:43 pm
A tad old, for me. This has happened tons of times with me, but I never bothered posting a bug report (because I considered it normal and intended). The help texts are already uncomfortable to read and this "bug" annoys a lot.

A 1 or 2-pixel gap between the strings would be good. :)
Title: Re: Clickable area on help window
Post by: z9999+ on January 24, 2010, 05:10:44 pm

A tad old, for me, too.
Title: Re: Clickable area on help window
Post by: knightly on January 25, 2010, 08:58:42 am
A patch for fixing the problem. Part of the problem originates from the flow text component inside the help frame, but the major problem is in scroll pane, which doesn't respect the position of its inner component.

Title: Re: Clickable area on help window
Post by: knightly on January 31, 2010, 05:57:03 pm
As the above patch fixes some bugs in the scroll pane code, I have updated the patch to fix another bug there. I have also fixed a minor bug in gui_komponente_t, which I don't want to start a separate patch just for it.
Title: Re: Clickable area on help window
Post by: knightly on February 07, 2010, 09:52:02 pm
If there is no objection, I will commit it.