You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2013/06/12 21:08:20 UTC

[jira] [Closed] (CAY-1823) remove ":sync w/DbEntity" button from ObjEntity - it is redundant and already present on the entity toolbar.

     [ https://issues.apache.org/jira/browse/CAY-1823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-1823.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2M1

I applied the last patch. It still looked kinda squeezed on Mac. Could be a difference between Linux and OS X Java rendering. Anyways, what I did is simply copied the format from DbEntityTab into ObjEntityTab and now it looks perfect. See r.1492371:

@@ -211,9 +211,7 @@ public class ObjEntityTab extends JPanel implements ObjEntityDisplayListener,
         };
 
         // assemble
-        FormLayout layout = new FormLayout(
-                "right:100dlu, 3dlu, fill:143dlu",
-                "");
+        FormLayout layout = new FormLayout("right:pref, 3dlu, fill:200dlu", "");
         DefaultFormBuilder builder = new DefaultFormBuilder(layout);
         builder.setDefaultDialogBorder();
 
Anyways, I think we are done with this one. Thanks for the patch!
                
> remove ":sync w/DbEntity" button from ObjEntity - it is redundant and already present on the entity toolbar.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: CAY-1823
>                 URL: https://issues.apache.org/jira/browse/CAY-1823
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>    Affects Versions: 3.2M1
>            Reporter: Kravchenko
>             Fix For: 3.2M1
>
>         Attachments: after(new).png, before.png, patch(new).txt, y.png
>
>
> Solution of this problem is given in patch(new).txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira