mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 09:12:09 +10:00
When editing Label components, default focus to the text editor
This commit is contained in:
@@ -4377,7 +4377,11 @@
|
|||||||
</versionNumber>
|
</versionNumber>
|
||||||
<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>
|
||||||
|
|||||||
@@ -88,5 +88,11 @@ public class MultiLineStringEditor extends JScrollPane {
|
|||||||
property.setChanged(true);
|
property.setChanged(true);
|
||||||
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