mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
When editing Label components, default focus to the text editor
This commit is contained in:
@@ -4377,7 +4377,11 @@
|
||||
</versionNumber>
|
||||
<releaseDate>2023-04-27 00:00:00.000 CET</releaseDate>
|
||||
<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>
|
||||
<changeType>BUG_FIX</changeType>
|
||||
<description>Unable to move selected components if one of them is close to being reduced to a point</description>
|
||||
|
||||
@@ -88,5 +88,11 @@ public class MultiLineStringEditor extends JScrollPane {
|
||||
property.setChanged(true);
|
||||
getTextArea().setBackground(oldBg);
|
||||
property.setValue(getTextArea().getText());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean requestFocusInWindow() {
|
||||
getTextArea().selectAll();
|
||||
return getTextArea().requestFocusInWindow();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user