mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-08 18:46:12 +00:00
Always on top not in dialogs.
This commit is contained in:
@@ -30,4 +30,4 @@ Xoetrope.decimalRGB=Decimal RGB
|
||||
|
||||
Xoetrope.webSafeColors=Use web safe colors
|
||||
|
||||
SystemMenu.alwaysOnTop=Toggle Always on top
|
||||
SystemMenu.alwaysOnTop=Toggle "Always on top"
|
||||
|
||||
@@ -30,4 +30,4 @@ Xoetrope.decimalRGB=Des\u00fdtkov\u00e9 RGB
|
||||
|
||||
Xoetrope.webSafeColors=Pou\u017e\u00fd barvy bezpe\u010dn\u00e9 pro web
|
||||
|
||||
SystemMenu.alwaysOnTop=P\u0159epnout V\u017edy na vrchu
|
||||
SystemMenu.alwaysOnTop=P\u0159epnout "V\u017edy na vrchu"
|
||||
@@ -1157,13 +1157,17 @@ public class SubstanceTitlePane extends JComponent {
|
||||
this.restoreAction.setEnabled(false);
|
||||
}
|
||||
if ((this.toggleButton.getParent() == null)
|
||||
|| (this.minimizeButton.getParent() == null)) {
|
||||
|| (this.minimizeButton.getParent() == null)
|
||||
|| (this.alwaysOnTopButton.getParent() == null)
|
||||
) {
|
||||
this.add(this.alwaysOnTopButton);
|
||||
this.add(this.toggleButton);
|
||||
this.add(this.minimizeButton);
|
||||
this.revalidate();
|
||||
this.repaint();
|
||||
}
|
||||
this.toggleButton.setText(null);
|
||||
this.alwaysOnTopAction.setEnabled(true);
|
||||
} else {
|
||||
this.maximizeAction.setEnabled(false);
|
||||
this.restoreAction.setEnabled(false);
|
||||
@@ -1175,9 +1179,11 @@ public class SubstanceTitlePane extends JComponent {
|
||||
}
|
||||
} else {
|
||||
// Not contained in a Frame
|
||||
this.alwaysOnTopAction.setEnabled(false);
|
||||
this.maximizeAction.setEnabled(false);
|
||||
this.restoreAction.setEnabled(false);
|
||||
this.iconifyAction.setEnabled(false);
|
||||
this.remove(this.alwaysOnTopButton);
|
||||
this.remove(this.toggleButton);
|
||||
this.remove(this.minimizeButton);
|
||||
this.revalidate();
|
||||
|
||||
Reference in New Issue
Block a user