Skip to content

Commit

Permalink
fix text file input button size, fixes apache#4526
Browse files Browse the repository at this point in the history
  • Loading branch information
hansva committed Nov 6, 2024
1 parent b2f7c9c commit c6c30d4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -692,13 +692,15 @@ private void addFilesTab() {
wbShowFiles.setLayoutData(fdbShowFiles);

wFirst = new Button(wFileComp, SWT.PUSH);
PropsUi.setLook(wFirst);
wFirst.setText(BaseMessages.getString(PKG, "TextFileInputDialog.First.Button"));
FormData fdFirst = new FormData();
fdFirst.left = new FormAttachment(wbShowFiles, margin * 2);
fdFirst.bottom = new FormAttachment(100, 0);
wFirst.setLayoutData(fdFirst);

wFirstHeader = new Button(wFileComp, SWT.PUSH);
PropsUi.setLook(wFirstHeader);
wFirstHeader.setText(BaseMessages.getString(PKG, "TextFileInputDialog.FirstHeader.Button"));
FormData fdFirstHeader = new FormData();
fdFirstHeader.left = new FormAttachment(wFirst, margin * 2);
Expand Down

0 comments on commit c6c30d4

Please sign in to comment.