<?xml version="1.0" encoding="UTF-8"?>
<interface>

    <template class="GtkPreferencesDialog" parent="GtkWindow">

        <property name="default-width">980</property>
        <property name="default-height">640</property>
        <property name="modal">true</property>
        <property name="resizable">true</property>

        <child type="titlebar">
            <object class="GtkBox">
                <child>
                    <object class="GtkHeaderBar" id="sidebar-header">
                        <property name="decoration-layout">:</property>

                        <property name="title-widget">
                            <object class="GtkLabel" id="side_title">
                                <property name="label" translatable="yes">Parameters</property>
                                <property name="single-line-mode">True</property>
                                <property name="ellipsize">end</property>
                                <property name="width-chars">5</property>
                                <style>
                                    <class name="title"/>
                                </style>
                            </object>
                        </property>

                        <child type="start">
                            <object class="GtkToggleButton">
                                <property name="icon-name">edit-find-symbolic</property>
                                <property name="valign">center</property>
                            </object>
                        </child>
                    </object>
                </child>

                <!-- Séparation centrale -->
                <child>
                    <object class="GtkSeparator">
                        <property name="orientation">vertical</property>
                        <property name="css-name">sidebar</property>
                    </object>
                </child>

                <child>
                    <object class="GtkHeaderBar" id="main-header">
                        <property name="hexpand">1</property>

                        <property name="title-widget">
                            <object class="GtkLabel" id="main_title">
                                <property name="label" translatable="yes"></property>
                                <property name="single-line-mode">True</property>
                                <property name="ellipsize">end</property>
                                <property name="width-chars">5</property>
                                <style>
                                    <class name="title"/>
                                </style>
                            </object>
                        </property>

                    </object>
                </child>
            </object>
        </child>

        <child>
            <object class="GtkBox">
                <child>
                    <object class="GtkScrolledWindow" id="side_content">
                        <property name="hexpand">false</property>
                        <property name="vexpand">true</property>
                        <property name="hscrollbar-policy">never</property>
                        <property name="vscrollbar-policy">automatic</property>
                    </object>
                </child>

                <!-- Séparation centrale -->
                <child>
                    <object class="GtkSeparator">
                        <property name="orientation">vertical</property>
                        <property name="css-name">sidebar</property>
                    </object>
                </child>

                <child>
                    <object class="GtkScrolledWindow" id="main_content">
                        <property name="hexpand">1</property>
                        <property name="vexpand">1</property>
                        <property name="hscrollbar-policy">never</property>
                        <property name="vscrollbar-policy">automatic</property>
                    </object>
                </child>
            </object>
        </child>

        <object class="GtkSizeGroup">
            <widgets>
                <widget name="sidebar-header"/>
                <widget name="side_content"/>
            </widgets>
        </object>
        <object class="GtkSizeGroup">
            <widgets>
                <widget name="main-header"/>
                <widget name="main_content"/>
            </widgets>
        </object>

    </template>
</interface>