[jbosstools-issues] [JBoss JIRA] (JBIDE-19453) Remote host information does not fit in the server editor

Rob Stryker (JIRA) issues at jboss.org
Wed Apr 8 22:24:18 EDT 2015


     [ https://issues.jboss.org/browse/JBIDE-19453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Stryker resolved JBIDE-19453.
---------------------------------
    Fix Version/s: 4.3.0.Alpha2
       Resolution: Done


Well, it took all day, probably way more time than I should have justified on this bug. The actual solution I chose was to simply code the composite better to have a preferred width of 200 but to be able to scale based on its container. 

The solution I spent all day TRYING to get working was to get the scrollbars in the ScrolledPageBook to show up. The reason that was failing was two-fold:

   1) Any time I changed the style bits to H_SCROLL | V_SCROLL, the form toolkit would change the composite to grey (which looked fine in new server wizard but horrible in editor), and...

   2) A bug upstream in ScrolledPageBook where the horizontal scrollbars refused to function properly. In short, the scrollbar would 'show', but, it always thought the control inside the scrollable composite was not larger than its container. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=464223  for more information. 

Either way, the committed solution was much simpler and made more sense, so I learned a lot about properly coding FormLayout for preferred sizes. 

> Remote host information does not fit in the server editor
> ---------------------------------------------------------
>
>                 Key: JBIDE-19453
>                 URL: https://issues.jboss.org/browse/JBIDE-19453
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.2.3.Beta1
>            Reporter: Martin Malina
>            Assignee: Rob Stryker
>             Fix For: 4.3.0.Alpha2
>
>         Attachments: remote-runtime-does-not-fit.png
>
>
> Today I noticed this. When I set up a remote server and then open it in the Server editor, the part under Server Behavior where it shows the remote host configuration (e.g. Remote Server Home) does not fix - it needs more space to the right, but it's hidden and there is no way to scroll to view it.
> !remote-runtime-does-not-fit.png!
> The same problem applies to both JBDS 8.1.0.Beta1 and JBDS 9.0.0.Alpha1. So you may want to clone this for 4.3.x.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list