``` fieldset { ...
# tornadofx
b
Copy code
fieldset {
                            text = "Config Sources"
                            labelPosition = Orientation.VERTICAL
                            //Model is currently empty, and that's okay
                            val fileSelectorScope = FileSelectorScope()
                            find(ConfigFileSelector::class, scope = fileSelectorScope)

                            //How do I get a fragment in here, and pass it a model.
                            //I also want to pass it what functions I want to do, which is probably not okay
                            field(".screenrc") {
                                hbox {
                                    textfield {
                                        //Path
                                    }
                                    button("Select File") {
                                        //TODO: use an icon

                                    }
                                    checkbox {
                                        text = "Use Upstream"
                                    }
                                }
                            }

                        }