<commit_before><?xml version="1.0" encoding="UTF-8"?>

<?scenebuilder-preview-i18n-resource MainWindow.properties?>
<?scenebuilder-stylesheet MainWindow.css?>

<?import com.github.vatbub.common.view.core.CustomProgressBar?>
<?import com.github.vatbub.common.view.core.ProgressButton?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?>
<?import javafx.scene.Cursor?>
<?import javafx.scene.layout.*?>
<AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" onDragDropped="#mainFrameOnDragDropped" onDragOver="#mainFrameOnDragOver" prefHeight="608.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="view.MainWindow">
  <children>
    <Label text="%WelcomeText" AnchorPane.leftAnchor="14.0" AnchorPane.topAnchor="14.0" />
    <Label text="%SelectText" AnchorPane.leftAnchor="14.0" AnchorPane.topAnchor="34.0" />
    <ListView fx:id="appList" onDragDetected="#appListOnDragDetected" prefHeight="304.0" prefWidth="572.0" AnchorPane.bottomAnchor="239.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="65.0" />
      <HBox layoutX="14.0" layoutY="382.0" spacing="4.0" AnchorPane.bottomAnchor="195.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0">
         <children>
            <AnchorPane layoutX="14.0" layoutY="382.0" prefHeight="31.0" HBox.hgrow="ALWAYS">
               <children>
                <CustomProgressBar fx:id="progressBar" mouseTransparent="true" opacity="1.0" prefHeight="31.0" progress="0.0" style="" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
                <ProgressButton fx:id="launchButton" defaultButton="true" disable="true" mnemonicParsing="false" onAction="#launchButtonOnAction" onDragDetected="#launchButtonOnDragDetected" text="%okButton.launch" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
                   <HBox alignment="CENTER" layoutX="357.0" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0"
                         AnchorPane.topAnchor="0.0">
                     <children>
                        <Button fx:id="linkButton" contentDisplay="GRAPHIC_ONLY" mnemonicParsing="false" onAction="#linkButtonOnAction" onDragDetected="#linkButtonOnDragDetected" onMousePressed="#linkButtonOnMousePressed" onMouseReleased="#linkButtonOnMouseReleased" styleClass="transparentButton" text="Icon" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
                           <cursor>
                              <Cursor fx:constant="OPEN_HAND" />
                           </cursor>
                        </Button>
                        <Button fx:id="appInfoButton" contentDisplay="GRAPHIC_ONLY" disable="true" mnemonicParsing="false" onAction="#appInfoButtonOnAction" styleClass="transparentButton" HBox.hgrow="ALWAYS" />
                         <Button fx:id="optionButton" contentDisplay="GRAPHIC_ONLY" disable="true" layoutX="357.0"
                                 layoutY="2.0" mnemonicParsing="false" onMouseClicked="#optionButtonOnMouseClicked"
                                 styleClass="transparentButton" text="..." AnchorPane.bottomAnchor="-2.0"
                                 AnchorPane.rightAnchor="65.0" AnchorPane.topAnchor="2.0"/>
                     </children>
                  </HBox>
               </children>
            </AnchorPane>
         </children>
      </HBox>
    <Label layoutX="14.0" layoutY="414.0" prefHeight="31.0" style="-fx-font-weight: bold;" text="%settingsLabel" AnchorPane.bottomAnchor="163.0" AnchorPane.leftAnchor="14.0" />
    <GridPane fx:id="settingsGridView" layoutX="22.0" layoutY="459.0" prefHeight="128.0" prefWidth="572.0" AnchorPane.bottomAnchor="40.0" AnchorPane.leftAnchor="22.0" AnchorPane.rightAnchor="6.0">
      <children>
        <CheckBox fx:id="enableSnapshotsCheckbox" mnemonicParsing="false" onAction="#enableSnapshotsCheckboxOnAction" text="%enableSnapshotsCheckbox" GridPane.columnIndex="0" GridPane.rowIndex="0" />
        <CheckBox id="enableSnapshotsCheckbox" fx:id="workOfflineCheckbox" contentDisplay="TOP" mnemonicParsing="false" onAction="#workOfflineCheckboxOnAction" text="%workOfflineCheckbox" GridPane.columnIndex="0" GridPane.rowIndex="1" />
        <CheckBox fx:id="launchLauncherAfterAppExitCheckbox" mnemonicParsing="false" onAction="#launchLauncherAfterAppExitCheckboxOnAction" text="%launchLauncherAfterAppExitCheckbox" GridPane.columnIndex="0" GridPane.rowIndex="2" />
            <ComboBox fx:id="languageSelector" maxWidth="1.7976931348623157E308" onAction="#languageSelectorOnAction" prefWidth="150.0" promptText="%languageSelector.promptText" GridPane.rowIndex="3">
               <GridPane.margin>
                  <Insets />
               </GridPane.margin>
            </ComboBox>
      </children>
      <columnConstraints>
        <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
      </columnConstraints>
      <rowConstraints>
        <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
        <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
        <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
        <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
      </rowConstraints>
    </GridPane>
    <HBox alignment="CENTER_LEFT" prefHeight="25.0" prefWidth="572.0" AnchorPane.bottomAnchor="7.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0">
      <children>
        <Label text="%version.label" HBox.hgrow="ALWAYS" />
        <Label fx:id="versionLabel" text="unknown" HBox.hgrow="ALWAYS">
          <HBox.margin>
            <Insets left="5.0" />
          </HBox.margin>
        </Label>
        <Hyperlink fx:id="updateLink" onAction="#updateLinkOnAction" text="%updateLink" textFill="#0066ff" HBox.hgrow="ALWAYS" />
      </children>
    </HBox>
      <TextField fx:id="searchField" layoutX="286.0" layoutY="19.0" prefHeight="31.0" prefWidth="300.0" promptText="%searchField.promptText" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="19.0" />
  </children>
</AnchorPane><commit_msg>Refactored the GUI layout to use a GridView instead of anchoring everything on the AnchorPane<commit_after><?xml version="1.0" encoding="UTF-8"?>

<?scenebuilder-preview-i18n-resource MainWindow.properties?>
<?scenebuilder-stylesheet MainWindow.css?>
<?import com.github.vatbub.common.view.core.*?>
<?import java.lang.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.*?>
<?import com.github.vatbub.common.view.core.CustomProgressBar?>
<?import com.github.vatbub.common.view.core.ProgressButton?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?>
<?import javafx.scene.Cursor?>
<?import javafx.scene.layout.*?>

<AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" onDragDropped="#mainFrameOnDragDropped" onDragOver="#mainFrameOnDragOver" prefHeight="608.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="view.MainWindow">
  <children>
      <GridPane layoutX="14.0" layoutY="65.0" vgap="5.0" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0">
         <columnConstraints>
            <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" />
         </columnConstraints>
         <rowConstraints>
            <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" vgrow="SOMETIMES" />
            <RowConstraints maxHeight="1.7976931348623157E308" minHeight="-Infinity" vgrow="SOMETIMES" />
            <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" vgrow="SOMETIMES" />
            <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" vgrow="SOMETIMES" />
            <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" vgrow="SOMETIMES" />
         </rowConstraints>
         <children>
          <ListView fx:id="appList" onDragDetected="#appListOnDragDetected" prefHeight="304.0" prefWidth="572.0" AnchorPane.bottomAnchor="239.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="65.0" GridPane.rowIndex="1" />
            <AnchorPane>
               <children>
                  <VBox AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0">
                     <children>
                      <Label text="%WelcomeText" AnchorPane.leftAnchor="14.0" AnchorPane.topAnchor="14.0" />
                      <Label text="%SelectText" AnchorPane.leftAnchor="14.0" AnchorPane.topAnchor="34.0" />
                     </children>
                  </VBox>
                  <VBox alignment="CENTER" layoutX="272.0" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
                     <children>
                        <TextField fx:id="searchField" prefWidth="300.0" promptText="%searchField.promptText" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
                     </children>
                  </VBox>
               </children>
            </AnchorPane>
            <HBox spacing="4.0" GridPane.rowIndex="2">
               <children>
                  <AnchorPane layoutX="14.0" layoutY="382.0" prefHeight="31.0" HBox.hgrow="ALWAYS">
                     <children>
                      <CustomProgressBar fx:id="progressBar" mouseTransparent="true" opacity="1.0" prefHeight="31.0" progress="0.0" style="" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
                      <ProgressButton fx:id="launchButton" defaultButton="true" disable="true" mnemonicParsing="false" onAction="#launchButtonOnAction" onDragDetected="#launchButtonOnDragDetected" text="%okButton.launch" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
                         <HBox alignment="CENTER" layoutX="357.0" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
                           <children>
                              <Button fx:id="linkButton" contentDisplay="GRAPHIC_ONLY" mnemonicParsing="false" onAction="#linkButtonOnAction" onDragDetected="#linkButtonOnDragDetected" onMousePressed="#linkButtonOnMousePressed" onMouseReleased="#linkButtonOnMouseReleased" styleClass="transparentButton" text="Icon" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
                                 <cursor>
                                    <Cursor fx:constant="OPEN_HAND" />
                                 </cursor>
                              </Button>
                              <Button fx:id="appInfoButton" contentDisplay="GRAPHIC_ONLY" disable="true" mnemonicParsing="false" onAction="#appInfoButtonOnAction" styleClass="transparentButton" HBox.hgrow="ALWAYS" />
                               <Button fx:id="optionButton" contentDisplay="GRAPHIC_ONLY" disable="true" layoutX="357.0" layoutY="2.0" mnemonicParsing="false" onMouseClicked="#optionButtonOnMouseClicked" styleClass="transparentButton" text="..." AnchorPane.bottomAnchor="-2.0" AnchorPane.rightAnchor="65.0" AnchorPane.topAnchor="2.0" />
                           </children>
                        </HBox>
                     </children>
                  </AnchorPane>
               </children>
            </HBox>
          <GridPane fx:id="settingsGridView" GridPane.rowIndex="3">
            <children>
              <CheckBox fx:id="enableSnapshotsCheckbox" mnemonicParsing="false" onAction="#enableSnapshotsCheckboxOnAction" text="%enableSnapshotsCheckbox" GridPane.columnIndex="0" GridPane.rowIndex="1" />
              <CheckBox id="enableSnapshotsCheckbox" fx:id="workOfflineCheckbox" contentDisplay="TOP" mnemonicParsing="false" onAction="#workOfflineCheckboxOnAction" text="%workOfflineCheckbox" GridPane.columnIndex="0" GridPane.rowIndex="2" />
              <CheckBox fx:id="launchLauncherAfterAppExitCheckbox" mnemonicParsing="false" onAction="#launchLauncherAfterAppExitCheckboxOnAction" text="%launchLauncherAfterAppExitCheckbox" GridPane.columnIndex="0" GridPane.rowIndex="3" />
                  <ComboBox fx:id="languageSelector" maxWidth="1.7976931348623157E308" onAction="#languageSelectorOnAction" promptText="%languageSelector.promptText" GridPane.rowIndex="4">
                     <GridPane.margin>
                        <Insets top="5.0" />
                     </GridPane.margin>
                  </ComboBox>
                <Label style="-fx-font-weight: bold;" text="%settingsLabel" />
            </children>
            <columnConstraints>
              <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
            </columnConstraints>
            <rowConstraints>
                  <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
              <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
              <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
              <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
              <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" vgrow="SOMETIMES" />
            </rowConstraints>
          </GridPane>
          <HBox alignment="CENTER_LEFT" GridPane.rowIndex="4">
            <children>
              <Label text="%version.label" HBox.hgrow="ALWAYS" />
              <Label fx:id="versionLabel" text="unknown" HBox.hgrow="ALWAYS">
                <HBox.margin>
                  <Insets left="5.0" />
                </HBox.margin>
              </Label>
              <Hyperlink fx:id="updateLink" onAction="#updateLinkOnAction" text="%updateLink" textFill="#0066ff" HBox.hgrow="ALWAYS" />
            </children>
          </HBox>
         </children>
      </GridPane>
  </children>
</AnchorPane>
{'fraction_non_alphanumeric': 0.14838528108070076, 'fraction_numerical': 0.03672694012523746, 'mean_word_length': 3.251869578223153, 'pattern_counts': {'":': 0, '<': 176, '<?xml version=': 2, '>': 176, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2751807', 'n_tokens_mistral': 4615, 'n_tokens_neox': 4364, 'n_words': 577}