mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Merge pull request #3684 from Akarshit/gsoc-DesAlignment
Description is aligned with the names of contribution
This commit is contained in:
@@ -49,6 +49,7 @@ public class ContributionManagerDialog {
|
||||
static final int AUTHOR_WIDTH = 240;
|
||||
static final int STATUS_WIDTH = 60;
|
||||
static final int FILTER_WIDTH = 180;
|
||||
static final int ICON_WIDTH = 45;
|
||||
|
||||
JFrame dialog;
|
||||
JTabbedPane tabbedPane;
|
||||
|
||||
@@ -151,7 +151,8 @@ class StatusPanel extends JPanel {
|
||||
|
||||
layout.setHorizontalGroup(layout
|
||||
.createSequentialGroup()
|
||||
.addComponent(iconLabel, 50, 50, 50)
|
||||
.addGap((ContributionManagerDialog.STATUS_WIDTH - ContributionManagerDialog.ICON_WIDTH))
|
||||
.addComponent(iconLabel, ContributionManagerDialog.ICON_WIDTH, ContributionManagerDialog.ICON_WIDTH, ContributionManagerDialog.ICON_WIDTH)
|
||||
.addGap(0)
|
||||
.addComponent(label, labelWidth, labelWidth, labelWidth)
|
||||
.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED,
|
||||
|
||||
Reference in New Issue
Block a user