mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
When editing Label components, default focus to the text editor
This commit is contained in:
@@ -4378,6 +4378,10 @@
|
|||||||
<releaseDate>2023-04-27 00:00:00.000 CET</releaseDate>
|
<releaseDate>2023-04-27 00:00:00.000 CET</releaseDate>
|
||||||
<name></name>
|
<name></name>
|
||||||
<changes>
|
<changes>
|
||||||
|
<org.diylc.appframework.update.Change>
|
||||||
|
<changeType>IMPROVEMENT</changeType>
|
||||||
|
<description>When editing Label components, default focus to the text editor</description>
|
||||||
|
</org.diylc.appframework.update.Change>
|
||||||
<org.diylc.appframework.update.Change>
|
<org.diylc.appframework.update.Change>
|
||||||
<changeType>BUG_FIX</changeType>
|
<changeType>BUG_FIX</changeType>
|
||||||
<description>Unable to move selected components if one of them is close to being reduced to a point</description>
|
<description>Unable to move selected components if one of them is close to being reduced to a point</description>
|
||||||
|
|||||||
@@ -89,4 +89,10 @@ public class MultiLineStringEditor extends JScrollPane {
|
|||||||
getTextArea().setBackground(oldBg);
|
getTextArea().setBackground(oldBg);
|
||||||
property.setValue(getTextArea().getText());
|
property.setValue(getTextArea().getText());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean requestFocusInWindow() {
|
||||||
|
getTextArea().selectAll();
|
||||||
|
return getTextArea().requestFocusInWindow();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user