Ticket #18523: 18523.manually_set_minimum_size.patch
File 18523.manually_set_minimum_size.patch, 1.0 KB (added by , 5 years ago) |
---|
-
src/org/openstreetmap/josm/gui/io/UploadDialog.java
144 144 tpConfigPanels = new CompactTabbedPane(); 145 145 146 146 pnlBasicUploadSettings = new BasicUploadSettingsPanel(changesetCommentModel, changesetSourceModel, changesetReviewModel); 147 Dimension pnlBasicUploadSettingsSize = pnlBasicUploadSettings.getPreferredSize(); 148 pnlBasicUploadSettingsSize.setSize(pnlBasicUploadSettingsSize.getWidth(), 149 pnlBasicUploadSettingsSize.getHeight() + 10 * Config.getPref().getDouble("gui.scale.menu.font", 1.0)); 150 pnlBasicUploadSettings.setMinimumSize(pnlBasicUploadSettingsSize); 147 151 tpConfigPanels.add(pnlBasicUploadSettings); 148 152 tpConfigPanels.setTitleAt(0, tr("Settings")); 149 153 tpConfigPanels.setToolTipTextAt(0, tr("Decide how to upload the data and which changeset to use"));