Advertisement
lewapkon

Untitled

Jun 11th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.17 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <?import javafx.scene.control.Dialog?>
  4. <?import javafx.scene.control.DialogPane?>
  5. <?import javafx.scene.control.Label?>
  6. <?import javafx.scene.control.RadioButton?>
  7. <?import javafx.scene.control.ToggleGroup?>
  8. <?import javafx.scene.layout.VBox?>
  9. <?import java.net.URL?>
  10.  
  11. <Dialog fx:id="dialog"
  12.         fx:controller="pl.edu.mimuw.forum.ui.controllers.AddDialogController" xmlns:fx="http://javafx.com/fxml">
  13.     <dialogPane>
  14.         <DialogPane prefWidth="400.0" prefHeight="400.0">
  15.             <stylesheets>
  16.                 <URL value="@/css/styles.css" />
  17.             </stylesheets>
  18.             <content>
  19.                 <VBox>
  20.                     <Label text="Choose the comment type..."></Label>
  21.                     <fx:define>
  22.                         <ToggleGroup fx:id="nodeTypeGroup"/>
  23.                     </fx:define>
  24.                     <children>
  25.                         <RadioButton text="Comment" toggleGroup="$nodeTypeGroup" />
  26.                         <RadioButton text="Suggestion" toggleGroup="$nodeTypeGroup" />
  27.                         <RadioButton text="Survey" toggleGroup="$nodeTypeGroup" />
  28.                         <RadioButton text="Task" toggleGroup="$nodeTypeGroup" />
  29.                     </children>
  30.                     <fx:include fx:id="details" source="details_pane.fxml" />
  31.                 </VBox>
  32.             </content>
  33.         </DialogPane>
  34.     </dialogPane>
  35. </Dialog>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement