This is an automated email from the git hooks/post-receive script. New commit to branch feature/8 in repository observe. See https://gitlab.nuiton.org/codelutin/observe.git commit ff6f6940f41eeb86bccc8350136c9f535eae1dd4 Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Dec 21 09:00:11 2016 +0100 Passage de source JTextArea (See #8196) --- .../ui/content/ref/impl/LengthWeightParameterUI.jaxx | 18 ++++++++++-------- .../ui/content/ref/impl/LengthWeightParameterUI.jcss | 2 ++ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/application-swing/src/main/java/fr/ird/observe/application/swing/ui/content/ref/impl/LengthWeightParameterUI.jaxx b/application-swing/src/main/java/fr/ird/observe/application/swing/ui/content/ref/impl/LengthWeightParameterUI.jaxx index eb5ce6c..31f30f9 100644 --- a/application-swing/src/main/java/fr/ird/observe/application/swing/ui/content/ref/impl/LengthWeightParameterUI.jaxx +++ b/application-swing/src/main/java/fr/ird/observe/application/swing/ui/content/ref/impl/LengthWeightParameterUI.jaxx @@ -158,20 +158,22 @@ public void decorateUniqueKeyTable(JTable table, </cell> </row> - <!-- needComment --> - <row> - <cell anchor='east' weightx="1" fill="both" columns="2"> - <JCheckBox id='needComment' onItemStateChanged='getBean().setNeedComment(needComment.isSelected())'/> - </cell> - </row> - <!-- source --> <row> <cell anchor='west'> <JLabel id='sourceLabel'/> </cell> <cell weightx="1" fill="both"> - <JTextField id='sourceField' onKeyReleased='getBean().setSource(sourceField.getText())'/> + <JScrollPane id='sourceFieldPane' onFocusGained='sourceField.requestFocus()'> + <JTextArea id='sourceField' onKeyReleased='getBean().setSource(sourceField.getText())'/> + </JScrollPane> + </cell> + </row> + + <!-- needComment --> + <row> + <cell anchor='east' weightx="1" fill="both" columns="2"> + <JCheckBox id='needComment' onItemStateChanged='getBean().setNeedComment(needComment.isSelected())'/> </cell> </row> diff --git a/application-swing/src/main/java/fr/ird/observe/application/swing/ui/content/ref/impl/LengthWeightParameterUI.jcss b/application-swing/src/main/java/fr/ird/observe/application/swing/ui/content/ref/impl/LengthWeightParameterUI.jcss index 0857dbd..7fe1ed9 100644 --- a/application-swing/src/main/java/fr/ird/observe/application/swing/ui/content/ref/impl/LengthWeightParameterUI.jcss +++ b/application-swing/src/main/java/fr/ird/observe/application/swing/ui/content/ref/impl/LengthWeightParameterUI.jcss @@ -170,8 +170,10 @@ #sourceLabel { text:"observe.common.source"; labelFor:{sourceField}; + verticalAlignment: top; } #sourceField { text:{getStringValue(bean.getSource())}; + rows:5; } -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.