Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toolbar overlap fix #1310

Closed
DorpsGek opened this issue Oct 8, 2007 · 1 comment
Closed

toolbar overlap fix #1310

DorpsGek opened this issue Oct 8, 2007 · 1 comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Oct 8, 2007

BigBB opened the ticket and wrote:

Everytime you open a new toolbar for e.g. depots, stations, etc. it overlap the parent toolbar and so covered several buttons.

Two years ago richk67 made a patch which moved the child toolbar exactly under the parent one. But he defined every child toolbar, this means that everytime a new child toolbar get into the game (by a patch or a NewGRF?) you have again a overlap toolbar.

So it's easier and dynamic to say which parent toolbars have sub toolbars who get moved. These two are WC_BUILD_TOOLBAR (for build railway/roads/ship docks/airports) and WC_SCEN_LAND_GEN (for landscaping).

Have fun,
BigBB

link for patch-file: http://www.tt-forums.net/viewtopic.php?f=33&t=34045
current version: 2.2

There are two versions:
v2.2y - the child toolbar is under the parent one and a little bit to the right (like original)
v2.2xy - the child toolbar is under the parent one and the left side is under the left side of the parent one

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/1310
@DorpsGek
Copy link
Member Author

Belugas closed the ticket.

Reason for closing: Implemented

Thanks
Commited in r11256
Nice touch, commenting the function ;)


This comment was imported from FlySpray: https://bugs.openttd.org/task/1310

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay
Projects
None yet
Development

No branches or pull requests

1 participant