<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>

  <object class="GtkAdjustment" id="tray_size_adjustment">
    <property name="lower">0.33</property>
    <property name="upper">1</property>
    <property name="step_increment">0.01</property>
    <property name="page_increment">0.1</property>
  </object>

  <object class="GtkAdjustment" id="leftbox_size_adjustment">
    <property name="lower">0.33</property>
    <property name="upper">1</property>
    <property name="step_increment">0.01</property>
    <property name="page_increment">0.1</property>
  </object>

  <object class="GtkAdjustment" id="tray_padding_adjustment">
    <property name="lower">0.33</property>
    <property name="upper">1</property>
    <property name="step_increment">0.01</property>
    <property name="page_increment">0.1</property>
  </object>

  <object class="GtkAdjustment" id="statusicon_padding_adjustment">
    <property name="lower">0.33</property>
    <property name="upper">1</property>
    <property name="step_increment">0.01</property>
    <property name="page_increment">0.1</property>
  </object>

  <object class="GtkAdjustment" id="leftbox_padding_adjustment">
    <property name="lower">0.33</property>
    <property name="upper">1</property>
    <property name="step_increment">0.01</property>
    <property name="page_increment">0.1</property>
  </object>

  <object class="AdwPreferencesPage" id="finetune">
    <property name="title" translatable="yes">Fine-Tune</property>
    <property name="icon_name">preferences-other-symbolic</property>

      <!-- group font -->
      <child>
        <object class="AdwPreferencesGroup" id="finetune_group_font">
          <property name="title" translatable="yes">Font size</property>

          <child>
            <object class="AdwActionRow">
              <property name="title" translatable="yes">Tray Font Size</property>
              <property name="subtitle" translatable="yes">(0 = theme default)</property>
              <child>
                <object class="GtkScale" id="tray_size_scale">
                  <property name="width-request">300</property>
                  <property name="adjustment">tray_size_adjustment</property>
                  <property name="round_digits">0</property>
                  <property name="digits">0</property>
                  <property name="value_pos">right</property>
                  <property name="draw_value">True</property>
                </object>
              </child>
            </object>
          </child>

          <child>
            <object class="AdwActionRow">
              <property name="title" translatable="yes">LeftBox Font Size</property>
              <property name="subtitle" translatable="yes">(0 = theme default)</property>
              <child>
                <object class="GtkScale" id="leftbox_size_scale">
                  <property name="width-request">300</property>
                  <property name="adjustment">leftbox_size_adjustment</property>
                  <property name="round_digits">0</property>
                  <property name="digits">0</property>
                  <property name="value_pos">right</property>
                  <property name="draw_value">True</property>
                </object>
              </child>
            </object>
          </child>

        </object>
      </child>

      <!-- group panel -->
      <child>
        <object class="AdwPreferencesGroup" id="finetune_group_padding">
          <property name="title" translatable="yes">Padding</property>

          <child>
            <object class="AdwActionRow">
              <property name="title" translatable="yes">Tray Item Padding</property>
              <property name="subtitle" translatable="yes">(-1 = theme default)</property>
              <child>
                <object class="GtkScale" id="tray_padding_scale">
                  <property name="width-request">300</property>
                  <property name="adjustment">tray_padding_adjustment</property>
                  <property name="round_digits">0</property>
                  <property name="digits">0</property>
                  <property name="value_pos">right</property>
                  <property name="draw_value">True</property>
                </object>
              </child>
            </object>
          </child>

          <child>
            <object class="AdwActionRow">
              <property name="title" translatable="yes">Status Icon Padding</property>
              <property name="subtitle" translatable="yes">(-1 = theme default)</property>
              <child>
                <object class="GtkScale" id="statusicon_padding_scale">
                  <property name="width-request">300</property>
                  <property name="adjustment">statusicon_padding_adjustment</property>
                  <property name="round_digits">0</property>
                  <property name="digits">0</property>
                  <property name="value_pos">right</property>
                  <property name="draw_value">True</property>
                </object>
              </child>
            </object>
          </child>

          <child>
            <object class="AdwActionRow">
              <property name="title" translatable="yes">LeftBox Padding</property>
              <property name="subtitle" translatable="yes">(-1 = theme default)</property>
              <child>
                <object class="GtkScale" id="leftbox_padding_scale">
                  <property name="width-request">300</property>
                  <property name="adjustment">leftbox_padding_adjustment</property>
                  <property name="round_digits">0</property>
                  <property name="digits">0</property>
                  <property name="value_pos">right</property>
                  <property name="draw_value">True</property>
                </object>
              </child>
            </object>
          </child>

        </object>
      </child>

      <!-- group animate -->
      <child>
        <object class="AdwPreferencesGroup" id="finetune_group_animate">
          <property name="title" translatable="yes">Animate</property>

          <child>
            <object class="AdwActionRow">
              <property name="title" translatable="yes">Animate switching applications</property>
              <child>
                <object class="GtkSwitch" id="animate_app_switch_switch">
                  <property name="valign">center</property>
                </object>
              </child>
            </object>
          </child>

          <child>
            <object class="AdwActionRow">
              <property name="title" translatable="yes">Animate launching new windows</property>
              <child>
                <object class="GtkSwitch" id="animate_window_launch_switch">
                  <property name="valign">center</property>
                </object>
              </child>
            </object>
          </child>

        </object>
      </child>

      <!-- group gnome -->
      <child>
        <object class="AdwPreferencesGroup" id="finetune_group_gnome">
          <property name="title" translatable="yes">Gnome functionality</property>

          <child>
            <object class="AdwActionRow">
              <property name="title" translatable="yes">Keep original gnome-shell dash</property>
              <property name="subtitle" translatable="yes">(overview)</property>
              <child>
                <object class="GtkSwitch" id="stockgs_dash_switch">
                  <property name="valign">center</property>
                </object>
              </child>
            </object>
          </child>

          <child>
            <object class="AdwActionRow">
              <property name="title" translatable="yes">Keep original gnome-shell top panel</property>
              <child>
                <object class="GtkSwitch" id="stockgs_top_panel_switch">
                  <property name="valign">center</property>
                </object>
              </child>
            </object>
          </child>

          <child>
            <object class="AdwActionRow">
              <property name="title" translatable="yes">Activate panel menu buttons on click only</property>
              <property name="subtitle" translatable="yes">(e.g. date menu)</property>
              <child>
                <object class="GtkSwitch" id="stockgs_panelbtn_switch">
                  <property name="valign">center</property>
                </object>
              </child>
            </object>
          </child>

          <child>
            <object class="AdwActionRow">
              <property name="title" translatable="yes">Force Activities hot corner on primary monitor</property>
              <child>
                <object class="GtkSwitch" id="stockgs_hotcorner_switch">
                  <property name="valign">center</property>
                </object>
              </child>
            </object>
          </child>

        </object>
      </child>

      <!-- group panel -->
      <child>
        <object class="AdwPreferencesGroup" id="finetune_group_">

          <child>
            <object class="AdwActionRow">
              <property name="title" translatable="yes">App icon secondary menu</property>
              <property name="subtitle" translatable="yes">(right-click menu)</property>
              <child>
                <object class="GtkButton" id="secondarymenu_options_button">
                  <property name="receives_default">True</property>
                  <property name="valign">center</property>
                  <child>
                    <object class="GtkImage" id="secondarymenu_options_button_image">
                      <property name="icon_name">emblem-system-symbolic</property>
                    </object>
                  </child>
                  <style>
                    <class name="circular"/>
                  </style>
                </object>
              </child>
            </object>
          </child>

        </object>
      </child>

      <!-- group advanced-->
      <child>
        <object class="AdwPreferencesGroup" id="finetune_group_advanced">

          <child>
            <object class="GtkButton" id="button_advanced_options">
              <property name="label" translatable="yes">Advanced Options</property>
              <property name="visible">False</property>
              <property name="receives_default">True</property>
              <property name="halign">end</property>
            </object>
          </child>

        </object>
      </child>

  </object>
</interface>