mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-16 02:12:58 +08:00
chore: improve floating toolbar
This commit is contained in:
@@ -59,7 +59,6 @@ class FloatingToolbarPanel : FlatToolBar(), Disposable {
|
||||
|
||||
init {
|
||||
border = FlatRoundBorder()
|
||||
isOpaque = false
|
||||
isFocusable = false
|
||||
isFloatable = false
|
||||
isVisible = false
|
||||
@@ -195,6 +194,7 @@ class FloatingToolbarPanel : FlatToolBar(), Disposable {
|
||||
|
||||
private fun initCloseActionButton(): JButton {
|
||||
val btn = JButton(Icons.closeSmall)
|
||||
btn.toolTipText = I18n.getString("termora.floating-toolbar.close-in-current-tab")
|
||||
btn.pressedIcon = Icons.closeSmallHovered
|
||||
btn.rolloverIcon = Icons.closeSmallHovered
|
||||
btn.addActionListener {
|
||||
|
||||
@@ -364,6 +364,7 @@ termora.visual-window.nvidia-smi=NVIDIA SMI
|
||||
|
||||
|
||||
termora.floating-toolbar.not-supported=This action is not supported
|
||||
termora.floating-toolbar.close-in-current-tab=Close in current tab
|
||||
|
||||
|
||||
# zmodem
|
||||
|
||||
@@ -346,6 +346,7 @@ termora.visual-window.system-information.filesystem=文件系统
|
||||
termora.visual-window.system-information.used-total=使用 / 大小
|
||||
|
||||
termora.floating-toolbar.not-supported=不允许此操作
|
||||
termora.floating-toolbar.close-in-current-tab=在当前标签页关闭
|
||||
|
||||
|
||||
# zmodem
|
||||
|
||||
@@ -325,6 +325,7 @@ termora.visual-window.system-information.filesystem=檔案系統
|
||||
termora.visual-window.system-information.used-total=使用 / 大小
|
||||
|
||||
termora.floating-toolbar.not-supported=不允許此操作
|
||||
termora.floating-toolbar.close-in-current-tab=在目前標籤頁關閉
|
||||
|
||||
# zmodem
|
||||
termora.addons.zmodem.skip=跳過
|
||||
Reference in New Issue
Block a user