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

Ability to over-expand boxes #4176

Closed
DorpsGek opened this issue Oct 22, 2010 · 4 comments
Closed

Ability to over-expand boxes #4176

DorpsGek opened this issue Oct 22, 2010 · 4 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Moriarty opened the ticket and wrote:

r21003 on Windows XP

I'm running the game in a maximised window rather than full screen. The bug is that the game allows you to expand extensible dialogs below the actual game-window, meaning as soon as you let go, you can't shrink the dialog again because the drag-icon is off-screen. See screenshot. The only way to "fix" these windows is to switch to fullscreen mode.

Suggested solution: It should not be possible to make a box larger than the game window in either the X or Y.

Attachments

Reported version: trunk
Operating system: Windows


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

Alberth wrote:

At my Linux system, I cannot reproduce the issue, the GUI grows until the mouse leaves the window. It does not seem possible to make it so large that the drag button disappears completely.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4176#comment8963

@DorpsGek
Copy link
Member Author

avd wrote:

The issue is not about resizing the windows inside openttd, but about the openttd window itsself. Imo there should be an extra check that the windows are not bigger than that of the openttd window (when the openttd window has been resized), so it would be impossible to reproduce such issues.

I could it reproduce here, and I think that isn't an os issue at all.

Edit: The extra checks could create new problems when a user decides to resize the main openttd window too small (smaller then the minimum size of the windows inside openttd). This can be solved by a) raising the minimumsize or b) not resizing the widgets if they are smaller then a given size (for example the biggest minimumsize of the windows inside openttd available).


This comment was imported from FlySpray: https://bugs.openttd.org/task/4176#comment8965

@DorpsGek
Copy link
Member Author

Rubidium wrote:

In Windows you can drag an in-game window to become bigger than the actual window of OpenTTD. It has, unlike avd's suggestion, nothing to do with resizing OpenTTD's window.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4176#comment8968

@DorpsGek
Copy link
Member Author

glx closed the ticket.

Reason for closing: Fixed

In r21015.


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

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug labels Apr 7, 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/)
Projects
None yet
Development

No branches or pull requests

1 participant