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

Add more customization options #8

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

amake
Copy link
Contributor

@amake amake commented Mar 12, 2015

The following parts of the VLDocking interface are currently impossible or cumbersome to customize:

  • AutoHideButton background color: setOpacity() is currently used (and from outside the UI class) to change the appearance, which precludes color customization.
  • DockViewTitleBar gradient: Currently impossible to disable without completely reimplementing the UI class.
  • AutoHideButtonPanel background color: Only settable by overriding the UI class.

This patch allows the above to be customized via the following UIManager keys:

  • AutoHideButton.background (Color)
  • DockViewTitleBar.disableCustomPaint (Boolean)
  • AutoHideButtonPanel.background (Color)

When these are not specified (null) the behavior is identical to before.

I'm not sure where the new keys should be documented. Please let me know.

@amake
Copy link
Contributor Author

amake commented Apr 3, 2015

I don't mean to prod, but do you have a timeline on which you might be able to review this?

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

Successfully merging this pull request may close these issues.

1 participant