[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3821) Port values not visible in server configuration editor

Rob Stryker (JIRA) jira-events at lists.jboss.org
Thu Feb 26 23:49:44 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-3821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12454617#action_12454617 ] 

Rob Stryker commented on JBIDE-3821:
------------------------------------

I am unable to replicate this. Even after commenting out the setText() portion for the box (simulating an incorrect xpath), my box is full size. Judging by teh image, perhaps your resolution is too small and something else is constraining the size?

I do have a minimum size coded directly. 

The code is as follows:

			Composite child = new Composite(parent, SWT.NONE);
			child.setLayout(new FormLayout());
			label = new Label(child, SWT.NONE);
			text = new Text(child, SWT.DEFAULT);
			detect = new Button(child, SWT.CHECK);
			link = new Link(child, SWT.NONE);

			FormData data;
			data = new FormData();
			data.top = new FormAttachment(0,8);
			data.right = new FormAttachment(100,-5);
			link.setLayoutData(data);

			data = new FormData();
			data.right = new FormAttachment(link, -5);
			data.top = new FormAttachment(0,5);
			detect.setLayoutData(data);

**			data = new FormData();
**			data.left = new FormAttachment(detect, -200);
**			data.right = new FormAttachment(detect, -5);
**			data.top = new FormAttachment(0,5);
**			text.setLayoutData(data);

			data = new FormData();
			data.right = new FormAttachment(text,-5);
			data.top = new FormAttachment(0,8);
			label.setLayoutData(data);

As you can see, it has a minimum size of 195. It starts from 5 to the left of the "detect" button and goes to 200 to the left, a size of 195. 



> Port values not visible in server configuration editor
> ------------------------------------------------------
>
>                 Key: JBIDE-3821
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3821
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 3.0.0.CR2
>         Environment: JBDS 2.0CR2; Fedora Core 8
>            Reporter: John Graham
>            Assignee: Rob Stryker
>             Fix For: 3.0.0.GA
>
>         Attachments: server-config-editor.jpg
>
>
> In the server configuration editor (opened by double clicking on a server connection node in the Servers view), the JNDI and Web ports have a thin gray line just to the right of each label. Given the context, I assume these are supposed to be text boxes showing the port values.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list