[pycharm] PY-79603 Debugger: final ui fixes

(cherry picked from commit ce671d81bbf076bfffd0e0d74dcd1444842c536e)

GitOrigin-RevId: b780508a93446d28c1967d17603597436698434a
This commit is contained in:
ekaterina.itsenko
2025-03-06 21:48:45 +01:00
committed by intellij-monorepo-bot
parent d27a16610c
commit 9d005afb6a
2 changed files with 3 additions and 7 deletions

View File

@@ -94,6 +94,5 @@ image.color.mode.inverted.image=Inverted
image.color.mode.grayscale.image=Grayscale
image.color.mode.binarize.image=Binarized
image.binarize.dialog.title=Set Binarization Threshold
image.binarize.dialog.message=Please enter a valid integer between 0 and 255.
image.binarize.dialog.invalid=Invalid input
image.binarize.dialog.invalid=Please enter a valid integer between 0 and 255.
image.color.mode.configure.actions=Configure...

View File

@@ -73,14 +73,11 @@ class ImageOperationsActionGroup : DefaultActionGroup(), CustomComponentAction,
): JComponent {
val component = super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus)
if (index != -1 && value == CONFIGURE_ACTIONS) {
return JPanel().apply {
return JSeparator().apply {
icon = if (value == CONFIGURE_ACTIONS) AllIcons.General.Settings else null
layout = BoxLayout(this, BoxLayout.Y_AXIS)
isOpaque = false
add(JSeparator(HORIZONTAL).apply {
foreground = JBColor(Gray._160, Gray._80)
background = JBColor(Gray._200, Gray._100)
})
background = JBColor(Gray._200, Gray._100)
add(component)
}
}