branch feature/1193 created (now e06ef0c)
This is an automated email from the git hooks/post-receive script. New change to branch feature/1193 in repository lima. See http://git.chorem.org/lima.git at e06ef0c fixes #1193 La zone des critères de recherche apparait réduite, les critères de recherche ne sont donc pas visibles, il faudrait définir une taille minimale This branch includes the following new commits: new e06ef0c fixes #1193 La zone des critères de recherche apparait réduite, les critères de recherche ne sont donc pas visibles, il faudrait définir une taille minimale The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit e06ef0cdac8f4806f386dc7f0f49b9f4b9592939 Author: Kevin Morin <morin@codelutin.com> Date: Fri Mar 27 17:17:53 2015 +0100 fixes #1193 La zone des critères de recherche apparait réduite, les critères de recherche ne sont donc pas visibles, il faudrait définir une taille minimale -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/1193 in repository lima. See http://git.chorem.org/lima.git commit e06ef0cdac8f4806f386dc7f0f49b9f4b9592939 Author: Kevin Morin <morin@codelutin.com> Date: Fri Mar 27 17:17:53 2015 +0100 fixes #1193 La zone des critères de recherche apparait réduite, les critères de recherche ne sont donc pas visibles, il faudrait définir une taille minimale --- .../FinancialTransactionSearchView.jaxx | 5 +++-- .../FinancialTransactionSearchViewHandler.java | 13 ++++++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchView.jaxx b/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchView.jaxx index d2a4965..269e4a7 100644 --- a/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchView.jaxx +++ b/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchView.jaxx @@ -92,8 +92,9 @@ </JToolBar> <JSplitPane constraints="BorderLayout.CENTER" - orientation='{JSplitPane.VERTICAL_SPLIT}'> - <JScrollPane> + orientation='{JSplitPane.VERTICAL_SPLIT}' + id="financialTransactionSplitpane"> + <JScrollPane id="financialTransactionConditionScrollPane"> <FinancialTransactionConditionView id="financialTransactionConditionView" /> </JScrollPane> <JScrollPane> diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchViewHandler.java b/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchViewHandler.java index 37119d1..d0936fb 100644 --- a/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchViewHandler.java +++ b/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchViewHandler.java @@ -88,7 +88,7 @@ public class FinancialTransactionSearchViewHandler { // add action on F5 binding = "refresh"; - inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_F5, 0) , binding); + inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_F5, 0), binding); actionMap.put(binding, new AbstractAction() { private static final long serialVersionUID = 5877340693755869036L; @@ -103,6 +103,17 @@ public class FinancialTransactionSearchViewHandler { FinancialTransactionConditionView filterView = view.getFinancialTransactionConditionView(); FinancialTransactionConditionHandler handler = filterView.getHandler(); handler.addCondition(conditionHandler); + + // cf #1193 La zone des critères de recherche apparait réduite, + // les critères de recherche ne sont donc pas visibles, il faudrait définir une taille minimale + JSplitPane financialTransactionSplitpane = view.getFinancialTransactionSplitpane(); + int dividerLocation = financialTransactionSplitpane.getDividerLocation(); + + int height = view.getFinancialTransactionConditionScrollPane().getPreferredSize().height + 5; + if (dividerLocation < height) { + financialTransactionSplitpane.setDividerLocation(height); + } + view.validate(); view.repaint(); } -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm