Skip to content

Add more customization options#8

Open
amake wants to merge 5 commits into
cmadsen:masterfrom
omegat-org:feature/bgcolor
Open

Add more customization options#8
amake wants to merge 5 commits into
cmadsen:masterfrom
omegat-org:feature/bgcolor

Conversation

@amake

@amake amake commented Mar 12, 2015

Copy link
Copy Markdown
Contributor

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

amake commented Apr 3, 2015

Copy link
Copy Markdown
Contributor Author

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