fullscreen {
    options_list {
        scroll_panel {
            scroll_bar {
                scroll_thumb
            }
            content {
                opt_header {
                    cell {
                        line
                    }
                    cell_text {
                        header {
                            " Audio "
                        }
                    }
                    cell {
                        line
                    }
                }
                option {
                    label_center(
                        key = "music_volume",
                        tooltip = "Controls the volume level of music that plays during the game"
                    ) {
                        label {
                            "Music Volume"
                        }
                    }
                    slider(
                        min=0, max=100, value=100, format="%d%%",
                        id = "music_volume"
                    ) {
                        slider_thumb
                        slider_value {
                            ""
                        }
                    }
                }
                option {
                    label_center(
                        key = "music_volume",
                        tooltip = "Controls the volume level of sound effects that plays during the game"
                    ) {
                        label {
                            "Sound Volume"
                        }
                    }
                    slider(
                        min=0, max=100, value=100, format="%d%%",
                        id = "sound_volume"
                    ) {
                        slider_thumb
                        slider_value {
                            ""
                        }
                    }
                }
                opt_header {
                    cell {
                        line
                    }
                    cell_text {
                        header {
                            " Graphics "
                        }
                    }
                    cell {
                        line
                    }
                }
                option {
                    label_center(
                        key = "fullscreen",
                        tooltip = "Selects whether the game runs in windowed mode or fullscreen"
                    ) {
                        label {
                            "Fullscreen"
                        }
                    }
                    dropdown(
                        id = "fullscreen",
                        value = 1,
                        options = 2,
                        option1 = "Windowed",
                        option2 = "Borderless Windowed"
                    ) {
                        content {
                            ""
                        }
                    }
                }
                option {
                    label_center(
                        key = "fps",
                        tooltip = "Sets the frame rate limit"
                    ) {
                        label {
                            "Frame Rate"
                        }
                    }
                    dropdown(
                        id = "fps",
                        value = 0,
                        options = 0
                    ) {
                        content {
                            ""
                        }
                    }
                }
                option {
                    label_center(
                        key = "advance",
                        tooltip = "Advanced graphics settings that can give you
greater control over the look and performance of the game"
                    ) {
                        label {
                            "Advanced graphics settings"
                        }
                    }
                    button(
                        id = "advance"
                    ) {
                        content {
                            "Advanced settings"
                        }
                    }
                }
                // Must be last as the keys are dynamically added
                opt_header {
                    cell {
                        line
                    }
                    cell_text {
                        header {
                            " Key Bindings "
                        }
                    }
                    cell {
                        line
                    }
                }
            }
        }
    }

    button(
        x=16, bottom=16, width=200, height=40,
        on_click="init#ui.emit_accept(node)"
    ) {
        content {
            "Back"
        }
    }
}