window(
    width=650, height=500,
    x = 16, middle = 0,
    key = "buy_rooms"
) {
    content(style="item_list") {
        title {
            "Buy Room/Building"
        }
        scroll_panel(rows=1) {
            scroll_bar {
                scroll_thumb
            }
            content
        }
        preview {
            icon(img="solid")
            description {
                ""
            }
        }
        buttons {
            button(
                on_click="init#ui.emit_cancel(node)"
            ) {
                content {
                    "Cancel"
                }
            }
            button(
                on_click="init#ui.emit_accept(node)",
                id = "accept"
            ) {
                content {
                    "Build"
                }
            }
        }
    }
}