Changeset 11196 in josm
- Timestamp:
- 2016-10-30T22:07:00+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools/bugreport
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/bugreport/BugReportDialog.java
r11102 r11196 100 100 messageLabel.setMaxWidth(MAX_MESSAGE_SIZE); 101 101 panel.add(messageLabel, GBC.eol().fill()); 102 content.add(panel, GBC.eop().fill(GBC.HORIZONTAL).insets(20 ));102 content.add(panel, GBC.eop().fill(GBC.HORIZONTAL).insets(20, 10, 10, 10)); 103 103 } 104 104 … … 108 108 panel.add(textPanel, GBC.eop().fill()); 109 109 110 panel.add(new JLabel(tr("Manually report at:") ), GBC.std());110 panel.add(new JLabel(tr("Manually report at:")+' '), GBC.std()); 111 111 panel.add(new UrlLabel(Main.getJOSMWebsite() + "/newticket"), GBC.std().fill(GBC.HORIZONTAL)); 112 112 JButton copy = new JButton("Copy to clipboard"); … … 135 135 panel.add(helpText, GBC.eop().fill(GridBagConstraints.HORIZONTAL)); 136 136 137 Component settings = GBC.glue(0, 0); 137 138 if (ExpertToggleAction.isExpert()) { 138 139 // The default settings should be fine in most situations. 139 panel.add(new BugReportSettingsPanel(report), GBC.eop().fill(GBC.HORIZONTAL)); 140 } 140 settings = new BugReportSettingsPanel(report); 141 } 142 panel.add(settings); 141 143 142 144 JButton sendBugReportButton = new JButton(tr("Report Bug"), ImageProvider.get("bug")); 143 145 sendBugReportButton.addActionListener(e -> sendBug()); 144 panel.add(sendBugReportButton, GBC.eo p().anchor(GBC.EAST));146 panel.add(sendBugReportButton, GBC.eol().insets(0, 0, 0, 0).anchor(GBC.SOUTHEAST)); 145 147 content.add(panel, GBC.eop().fill(GBC.HORIZONTAL)); 146 148 } … … 148 150 private static void addBorder(JPanel panel, String title) { 149 151 panel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder(title), BorderFactory 150 .createEmptyBorder( 10, 10, 10, 10)));152 .createEmptyBorder(5, 5, 5, 5))); 151 153 } 152 154 … … 162 164 ignore.addActionListener(e -> closeDialog()); 163 165 panel.add(ignore, GBC.std(1, 0).span(1, 2).anchor(GBC.CENTER)); 164 content.add(panel, GBC.eol().fill(GBC.HORIZONTAL).insets( 20));166 content.add(panel, GBC.eol().fill(GBC.HORIZONTAL).insets(0, 0, 10, 10)); 165 167 } 166 168 -
trunk/src/org/openstreetmap/josm/tools/bugreport/DebugTextDisplay.java
r11102 r11196 29 29 textArea.setEditable(false); 30 30 setViewportView(textArea); 31 setPreferredSize(new Dimension(600, 300));31 setPreferredSize(new Dimension(600, 270)); 32 32 } 33 33 -
trunk/src/org/openstreetmap/josm/tools/bugreport/JosmUpdatePanel.java
r10830 r11196 35 35 josmVersion = Version.getInstance().getVersion(); 36 36 37 add(new JMultilineLabel(tr("Your current version of JOSM is {0}", josmVersion)), GBC.eo p().fill(GBC.HORIZONTAL));37 add(new JMultilineLabel(tr("Your current version of JOSM is {0}", josmVersion)), GBC.eol().fill(GBC.HORIZONTAL)); 38 38 testedVersionField = new JMultilineLabel(tr("JOSM is searching for updates...")); 39 add(testedVersionField, GBC.eo p().fill(GBC.HORIZONTAL));39 add(testedVersionField, GBC.eol().fill(GBC.HORIZONTAL)); 40 40 41 41 checkCurrentVersion();
Note:
See TracChangeset
for help on using the changeset viewer.