summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-06-22 15:55:27 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-06-22 15:55:27 +0200
commit0b36d9f6835346692be29ef0a8337a04e94030e7 (patch)
tree5de4da191a157153fd25046465de675bcfaf7d1a
parent654e1a8ed8db6a2fdff2188e658953a2fea53e58 (diff)
downloadpdf-over-0b36d9f6835346692be29ef0a8337a04e94030e7.tar.gz
pdf-over-0b36d9f6835346692be29ef0a8337a04e94030e7.tar.bz2
pdf-over-0b36d9f6835346692be29ef0a8337a04e94030e7.zip
eliminate superfluous scrollbar from "about" tab
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java
index c5b33313..fdc05e5e 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java
@@ -196,8 +196,7 @@ public class ConfigurationComposite extends StateComposite {
aboutCompositeScr.setContent(aboutConfigComposite);
aboutCompositeScr.setExpandHorizontal(true);
aboutCompositeScr.setExpandVertical(true);
- aboutCompositeScr.setMinSize(aboutConfigComposite
- .computeSize(SWT.DEFAULT, SWT.DEFAULT));
+ aboutCompositeScr.setMinSize(aboutConfigComposite.computeSize(300, SWT.DEFAULT));
this.tabFolder.setSelection(this.simpleTabItem);