Skip to content
This repository has been archived by the owner on Jul 3, 2022. It is now read-only.

Remove magic constants in GUI code #19

Open
SaurabhTotey opened this issue Jul 21, 2018 · 1 comment
Open

Remove magic constants in GUI code #19

SaurabhTotey opened this issue Jul 21, 2018 · 1 comment
Labels
polish:ui Something that can be improved UI-wise

Comments

@SaurabhTotey
Copy link
Member

No description provided.

@SaurabhTotey SaurabhTotey added the polish:ui Something that can be improved UI-wise label Jul 21, 2018
@SaurabhTotey SaurabhTotey changed the title Remove magic constants in PlanetAttributePanel Remove magic constants in GUI code Jul 21, 2018
@SaurabhTotey
Copy link
Member Author

Many UI elements have their sizes hardcoded, and resizing one thing makes resizing everything else pretty difficult. See PlanetAttributesPanel lines 39-48. We might want some sort of overlay god class that manages all of the sub-components' sizes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
polish:ui Something that can be improved UI-wise
Projects
None yet
Development

No branches or pull requests

1 participant