Remove choicebox from center toolbar

This commit is contained in:
Clément Fournier
2019-01-10 00:21:14 +01:00
parent 9e6481b275
commit ec86186fff
3 changed files with 0 additions and 12 deletions

View File

@@ -28,7 +28,6 @@ import net.sourceforge.pmd.util.fxdesigner.util.AbstractController;
import net.sourceforge.pmd.util.fxdesigner.util.DesignerUtil;
import net.sourceforge.pmd.util.fxdesigner.util.LimitedSizeStack;
import net.sourceforge.pmd.util.fxdesigner.util.TextAwareNodeWrapper;
import net.sourceforge.pmd.util.fxdesigner.util.beans.SettingsOwner;
import net.sourceforge.pmd.util.fxdesigner.util.beans.SettingsPersistenceUtil;
import net.sourceforge.pmd.util.fxdesigner.util.beans.SettingsPersistenceUtil.PersistentProperty;
@@ -95,8 +94,6 @@ public class MainDesignerController extends AbstractController {
@FXML
private ChoiceBox<LanguageVersion> languageChoiceBox;
@FXML
private ChoiceBox<String> xpathVersionChoiceBox;
@FXML
private ToggleButton bottomTabsToggle;
/* Bottom panel */
@FXML
@@ -140,8 +137,6 @@ public class MainDesignerController extends AbstractController {
initializeLanguageVersionMenu();
initializeViewAnimation();
xpathPanelController.initialiseVersionChoiceBox(xpathVersionChoiceBox);
languageVersion = Val.wrap(languageChoiceBox.getSelectionModel().selectedItemProperty());
DesignerUtil.rewireInit(sourceEditorController.languageVersionProperty(),
languageVersion, this::setLanguageVersion);

View File

@@ -83,12 +83,6 @@
</padding>
</ChoiceBox>
<Pane prefWidth="10.0" HBox.hgrow="NEVER" />
<Label text="XPath Version:" />
<ChoiceBox maxWidth="115.0" prefWidth="115.0" fx:id="xpathVersionChoiceBox">
<padding>
<Insets bottom="-3.0" left="-3.0" right="-3.0" top="-3.0" />
</padding>
</ChoiceBox>
</children>
</HBox>
<Pane HBox.hgrow="ALWAYS" />

View File

@@ -159,7 +159,6 @@
.fix-width(20);
.fix-height(20);
-fx-padding: 3;
}
/* This is the special button to reduce the lower split pane. */