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

[GUI] Science database needs scrollbar to certain ships with too many beams and torpedo tubes. #1924

Open
hemmond opened this issue Mar 2, 2023 · 1 comment

Comments

@hemmond
Copy link
Contributor

hemmond commented Mar 2, 2023

Some ships (for example Odin) has so many tubes and beams, that it will not fit to the database screen on normal (widescreen) monitors. It would benefit from scrollbar on that large configurations.

@oznogon
Copy link
Contributor

oznogon commented Mar 2, 2023

Could either specialize the DatabaseViewComponent to make the k/v list behave like a GuiScrollText (hide/show a scrollbar if the sum of the heights of all k/vs > the containing GuiElement height), or create a more reusable k/v equivalent of GuiAdvancedScrollText and use that here.

Either way, this affects only the Odin or custom ships or science DB entries with more than 22 k/v entries. Odin has 40.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants