Skip to content

Commit

Permalink
CheckBox and The Button on the same level, wrapped around BorderPane
Browse files Browse the repository at this point in the history
  • Loading branch information
mulla028 committed Dec 9, 2024
1 parent e62d4f2 commit 834e51e
Showing 1 changed file with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,25 @@
<?import javafx.scene.control.Button?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.text.TextFlow?>
<?import javafx.scene.text.Text?>

<fx:root alignment="TOP_CENTER" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" spacing="10.0" type="VBox" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.jabref.gui.ai.components.summary.SummaryShowingComponent">
<children>
<StackPane fx:id="contentStackPane" VBox.vgrow="ALWAYS" >
<TextArea fx:id="summaryTextArea" editable="false" wrapText="true" VBox.vgrow="ALWAYS" />
<TextArea fx:id="summaryTextArea" editable="false" wrapText="true" VBox.vgrow="ALWAYS" />
</StackPane>
<AnchorPane prefHeight="1.0" prefWidth="512.0">
<children>
<CheckBox fx:id="markdownCheckbox" layoutX="13.0" mnemonicParsing="false" onAction="#onMarkdownToggle" prefHeight="6.0" prefWidth="81.0" text="Markdown" />
</children>
</AnchorPane>
<Button mnemonicParsing="false" onAction="#onRegenerateButtonClick" prefHeight="12.0" prefWidth="91.0" text="%Regenerate" />
<BorderPane prefHeight="30.0" prefWidth="512.0">
<left>
<CheckBox fx:id="markdownCheckbox" mnemonicParsing="false" onAction="#onMarkdownToggle" text="Markdown" />
</left>
<center>
<Button mnemonicParsing="false" onAction="#onRegenerateButtonClick" text="%Regenerate" translateX="-40" />
</center>
<right>
</right>
</BorderPane>
<TextFlow textAlignment="CENTER">
<children>
<Text fx:id="summaryInfoText" strokeType="OUTSIDE" strokeWidth="0.0" text="%Generated at %0 by %1" />
Expand Down

0 comments on commit 834e51e

Please sign in to comment.