Skip to content

Commit

Permalink
Fix for InAnYan#125
Browse files Browse the repository at this point in the history
  • Loading branch information
InAnYan committed Aug 7, 2024
1 parent 5ce5c2c commit 441308d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>

<fx:root type="Pane" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.jabref.gui.ai.components.privacynotice.PrivacyNoticeComponent">
<children>
<fx:root type="ScrollPane" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.jabref.gui.ai.components.privacynotice.PrivacyNoticeComponent">
<VBox spacing="10.0">
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
Expand Down Expand Up @@ -66,5 +65,4 @@
</Button>
</children>
</VBox>
</children>
</fx:root>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import javafx.fxml.FXML;
import javafx.scene.control.Hyperlink;
import javafx.scene.control.ScrollPane;
import javafx.scene.layout.Pane;
import javafx.scene.text.Text;
import javafx.scene.text.TextFlow;
Expand All @@ -17,7 +18,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class PrivacyNoticeComponent extends Pane {
public class PrivacyNoticeComponent extends ScrollPane {
private final Logger LOGGER = LoggerFactory.getLogger(PrivacyNoticeComponent.class);

@FXML private TextFlow openAiPrivacyTextFlow;
Expand Down

0 comments on commit 441308d

Please sign in to comment.