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

<HeaderLayoutPanel>
  <_.Header>
    <AxCheckButton aml.Name="show_notes_check_button" Text="%intl{Include Notes}" Selected="%bind{configuration.show_notes}"/>
  </_.Header>
  <_.Body>
    <GridLayoutPanel Rows="%grid_sizes{fit,*,fit}" Columns="%grid_sizes{*}"
                     Enabled="%bind_to_me{show_notes_check_button.selected}" Spacing="10">
      <AxLabel Text="%intl{Select and order the notes that will be displayed in the specification for each page and master.}"/>
      
      <GridLayoutPanel Rows="%grid_sizes{*}" Columns="%grid_sizes{*,fit}" Spacing="5">
        <SelectObjectListPanel aml.Name="notes_list" SelectObjects="%bind{configuration.notes_property_name_select_objects}"/>

        <StackLayoutPanel>
          <SimpleButton Image="%eval{ImageListContainer.PageTreeMenuImageList.Images[3]}" Clicked="up_clicked"
                        Enabled="%bind_to_me{notes_list.up_button_enabled}" ToolTip="%intl{Move Up}" RenderButtonFrame="false"/>

          <SimpleButton Image="%eval{ImageListContainer.PageTreeMenuImageList.Images[4]}" Clicked="down_clicked"
                        Enabled="%bind_to_me{notes_list.down_button_enabled}" ToolTip="%intl{Move Down}" RenderButtonFrame="false"/>
        </StackLayoutPanel>
      </GridLayoutPanel>

      <AxCheckButton Text="%intl{Show Notes Names}" Selected="%bind{configuration.show_notes_names}"/>
    </GridLayoutPanel>
  </_.Body>
</HeaderLayoutPanel>