修复下载源选择 ComboBox 过长的问题 (#2085)
This commit is contained in:
@@ -90,7 +90,7 @@ public class DownloadSettingsPage extends StackPane {
|
|||||||
|
|
||||||
JFXComboBox<String> cboDownloadSource = new JFXComboBox<>();
|
JFXComboBox<String> cboDownloadSource = new JFXComboBox<>();
|
||||||
cboDownloadSource.setConverter(stringConverter(key -> i18n("download.provider." + key)));
|
cboDownloadSource.setConverter(stringConverter(key -> i18n("download.provider." + key)));
|
||||||
downloadSourcePane.setCenter(cboDownloadSource);
|
downloadSourcePane.setRight(cboDownloadSource);
|
||||||
FXUtils.setLimitWidth(cboDownloadSource, 420);
|
FXUtils.setLimitWidth(cboDownloadSource, 420);
|
||||||
|
|
||||||
cboDownloadSource.getItems().setAll(DownloadProviders.rawProviders.keySet());
|
cboDownloadSource.getItems().setAll(DownloadProviders.rawProviders.keySet());
|
||||||
|
|||||||
Reference in New Issue
Block a user