texture select combobox: show 20 items, change "From file..." to "Select file..."
This commit is contained in:
parent
c136436284
commit
05e9758f36
@ -2393,7 +2393,7 @@ PresetModel.lbl.partsLib = Parts Library
|
|||||||
PresetModel.lbl.partsLib.ttip = Select a preset model for this rocket component from a library of parts.
|
PresetModel.lbl.partsLib.ttip = Select a preset model for this rocket component from a library of parts.
|
||||||
|
|
||||||
DecalModel.lbl.select = <none>
|
DecalModel.lbl.select = <none>
|
||||||
DecalModel.lbl.choose = From file\u2026
|
DecalModel.lbl.choose = Select file\u2026
|
||||||
|
|
||||||
! Export Decal Dialog
|
! Export Decal Dialog
|
||||||
ExportDecalDialog.title = Export Decal
|
ExportDecalDialog.title = Export Decal
|
||||||
|
@ -1799,7 +1799,7 @@ PresetModel.lbl.custompreset = Custom
|
|||||||
PresetModel.lbl.partsLib = Parts Library
|
PresetModel.lbl.partsLib = Parts Library
|
||||||
|
|
||||||
DecalModel.lbl.select = <none>
|
DecalModel.lbl.select = <none>
|
||||||
DecalModel.lbl.choose = From file...
|
DecalModel.lbl.choose = Select file...
|
||||||
|
|
||||||
! Export Decal Dialog
|
! Export Decal Dialog
|
||||||
ExportDecalDialog.title = Export Decal
|
ExportDecalDialog.title = Export Decal
|
||||||
|
@ -505,6 +505,7 @@ public class AppearancePanel extends JPanel {
|
|||||||
|
|
||||||
DecalModel decalModel = new DecalModel(panel, document, builder);
|
DecalModel decalModel = new DecalModel(panel, document, builder);
|
||||||
JComboBox<DecalImage> textureDropDown = new JComboBox<DecalImage>(decalModel);
|
JComboBox<DecalImage> textureDropDown = new JComboBox<DecalImage>(decalModel);
|
||||||
|
textureDropDown.setMaximumRowCount(20);
|
||||||
|
|
||||||
// We need to add this action listener that triggers a decalModel update when the same item is selected, because
|
// We need to add this action listener that triggers a decalModel update when the same item is selected, because
|
||||||
// for multi-comp edits, the listeners' decals may not be updated otherwise
|
// for multi-comp edits, the listeners' decals may not be updated otherwise
|
||||||
|
Loading…
x
Reference in New Issue
Block a user