-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Update UI to use BorderLayout, fixes resizeable issues #16
Conversation
private ClientPanel panel; | ||
private NavigationPanel navigationPanel; | ||
private PluginPanel pluginPanel; | ||
private boolean expanded; | ||
private int collapsedWidth = ClientPanel.PANEL_WIDTH + NavigationPanel.PANEL_WIDTH; | ||
private int expandedWidth = collapsedWidth + PluginPanel.PANEL_WIDTH; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two fields seem constant, should be static final
This seems to move the nav bar to be on the left side of the plugin area instead of the right side, which I don't want. |
And do you want the ClientPanel to change size when opening and closing the PluginPanel? |
@RobinWeymans I will eventually revisit the entire UI but for now it works well enough. |
Had to modify this to slightly to make it not resize the height down smaller than the panel height (I don't know why) when closing the side panel... Otherwise seems to work, merged. |
Update to new RL api for new game version
Blast Furnace in the works
No description provided.