Skip to content

Commit

Permalink
Merge pull request #1093 from Tharsanan1/ui-alignment-issue
Browse files Browse the repository at this point in the history
UI issue on REST API creation using API Manager API
  • Loading branch information
rosensilva authored Mar 28, 2022
2 parents 823128b + 44f9628 commit 8cb0236
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ public void createControl(Composite parent) {
// https://github.com/wso2/integration-studio/issues/1057
Text initilizeText = new Text(container, SWT.NONE | SWT.READ_ONLY);
data = new FormData();
data.height = 1;
data.height = 0;
data.width = 0;
initilizeText.setLayoutData(data);

Composite credentialsContainer = new Composite(container, SWT.NULL);
Expand All @@ -118,8 +119,8 @@ public void createControl(Composite parent) {
labelUserName = new Label(container, SWT.NONE);
labelUserName.setText("UserName *");
data = new FormData();
data.top = new FormAttachment(credentialsContainer, 10);
data.width = 120;
data.top = new FormAttachment(credentialsContainer, 20);
data.width = 155;
data.left = new FormAttachment(3);
labelUserName.setLayoutData(data);

Expand All @@ -135,7 +136,7 @@ public void createControl(Composite parent) {
labelPassword.setText("Password *");
data = new FormData();
data.top = new FormAttachment(labelUserName, 30);
data.width = 120;
data.width = 155;
data.left = new FormAttachment(3);
labelPassword.setLayoutData(data);

Expand All @@ -151,7 +152,7 @@ public void createControl(Composite parent) {
labelAPIMHostUrl.setText("API Manager Host Url *");
data = new FormData();
data.top = new FormAttachment(labelPassword, 30);
data.width = 140;
data.width = 155;
data.left = new FormAttachment(3);
labelAPIMHostUrl.setLayoutData(data);

Expand Down

0 comments on commit 8cb0236

Please sign in to comment.