gui - keep node/device labels constant, based on feedback
This commit is contained in:
parent
c50dfdda85
commit
09cdc24427
1 changed files with 0 additions and 3 deletions
|
@ -1,8 +1,6 @@
|
|||
package com.core.ui;
|
||||
|
||||
import com.core.Controller;
|
||||
import com.core.data.CoreNode;
|
||||
import com.core.data.MobilityConfig;
|
||||
import com.core.data.NodeType;
|
||||
import com.core.data.SessionState;
|
||||
import com.core.utils.IconUtils;
|
||||
|
@ -178,7 +176,6 @@ public class GraphToolbar extends VBox {
|
|||
}
|
||||
|
||||
private void updateButtonValues(JFXButton button, Label label) {
|
||||
button.setText(label.getText());
|
||||
ImageView icon = new ImageView(((ImageView) label.getGraphic()).getImage());
|
||||
icon.setFitHeight(ICON_SIZE);
|
||||
icon.setFitWidth(ICON_SIZE);
|
||||
|
|
Loading…
Reference in a new issue