-
Notifications
You must be signed in to change notification settings - Fork 18
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
Inspector improvements #555
Conversation
…make transfer function editor part of the volume group
…utton for volumes to prevent superfluous hide/show events for histogram
val newFont = it.font.deriveFont(it.font.size * scale) | ||
it.font = newFont | ||
|
||
if(it is Container) { |
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.
Do Container types have visible fonts themselves or are they just meta objects for the hierarchy? If the second is the case, you could put lines 348-349 in an else clause?
@Throws(ModuleException::class) | ||
override fun buildPanel(inputPanel: InputPanel<JPanel, JPanel>, module: Module) { | ||
buildPanel(inputPanel, module, false) |
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.
What is the reason for creating the overloaded function here instead of setting uiDebug: Boolean = false
per default?
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.
Looks good, left two comments where I wasn't sure why you did things that way.
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.
LGTM
Yaaaaas! Fight back against the "clean whitespace" propaganda! |
This PR improves the inspector in the following ways:
SwingGroupingInputHarvester
, the group names are saved to the name of the respective component, such that they are identifiable later on in the lifecycle