Skip to content

Improve behaviour of making nodes visible / scrolling the extensive game display #569

@tturocy

Description

@tturocy

This feature request is for...

Gambit GUI

Requested enahancement or feature

We have a feature in the graphical interface (hitting the space bar) which scrolls the window to make the currently-selected node visible. This usually does manage to make the selected node visible - but it's not necessarily a slick or modern result (for example the selected node isn't centred at all even when it might make sense to be able to centre it).

Relatedly, when a game is first displayed, the window is not scrolled to display the root node of the game and/or the zoom level of the game is not set appropriately. So for even a rather moderately-sized game, the initial display window is blank because the tree is actually down and to the right of the part of the canvas that is being displayed.

Given the interconnections between these two - basically they both boil down to trying to make working with medium-sized games a bit more smooth - it makes sense to think of these as part of the same project to be solved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++Items which involve writing in C++enhancementguiItems which involve the graphical interface/wxWidgetshackathonIssues potentially suitable for a hackathon exercise

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions