在 JFXCustomColorPickerDialog 中使用 HEX 作为默认 Tab (#5011)
This commit is contained in:
@@ -116,9 +116,9 @@ public class JFXCustomColorPickerDialog extends StackPane {
|
|||||||
Tab hexTab = new Tab("HEX");
|
Tab hexTab = new Tab("HEX");
|
||||||
hexTab.setContent(hexField);
|
hexTab.setContent(hexField);
|
||||||
|
|
||||||
|
tabs.getTabs().add(hexTab);
|
||||||
tabs.getTabs().add(rgbTab);
|
tabs.getTabs().add(rgbTab);
|
||||||
tabs.getTabs().add(hsbTab);
|
tabs.getTabs().add(hsbTab);
|
||||||
tabs.getTabs().add(hexTab);
|
|
||||||
|
|
||||||
curvedColorPicker.selectedPath.addListener((o, oldVal, newVal) -> {
|
curvedColorPicker.selectedPath.addListener((o, oldVal, newVal) -> {
|
||||||
if (paraTransition != null) {
|
if (paraTransition != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user