<?xml version="1.0" encoding="UTF-8"?>
<!--
 IBUILabel.inspector
 Copyright © 2010-2023 Apple Inc. All rights reserved.
 -->
<slice>
    <section>
        <chooser title="Text" type="number" keyPath="inspectedObjectsController.selection.object.ibInspectedUsesAttributedText">
            <choice title="Plain" value="0">
                <sliver>
                    <property type="string" placeholder="Text" keyPath="inspectedObjectsController.selection.object.ibInspectedText"/>
                </sliver>
                <sliver title="Color">
                    <property type="ib-named-color" configurableProperty="textColor" defaultColorForNil="YES" defaultColorKeyPath="inspectedObjectsController.selection.object.defaultTextColor" />
                </sliver>
                <sliver title="Font">
                    <property type="font" configurableProperty="fontDescription" dataSourceKeyPath="inspectedObjectsController.selection.object.targetRuntime.fontDataSource" actionSelector="constrainBoundsOfSelectionToNearestLegalSize"/>
                </sliver>
                <sliver title="Dynamic Type">
                    <property type="boolean" title="Automatically Adjusts Font" keyPath="inspectedObjectsController.selection.object.adjustsFontForContentSizeCategory"/>
                </sliver>
                <sliver title="Alignment">
                    <property type="enumeration" keyPath="inspectedObjectsController.selection.object.textAlignment">
                        <option-group>
                            <option value="0" image="IBAlignTextLeftTemplate" title="Left" />
                            <option value="1" image="IBAlignTextCenterTemplate" title="Center" />
                            <option value="2" image="IBAlignTextRightTemplate" title="Right" />
                            <option value="3" image="IBAlignTextJustifiedTemplate" title="Justified" />
                            <option value="4" image="IBAlignTextNaturalTemplate" title="Natural" />
                        </option-group>
                    </property>
                </sliver>
            </choice>
            <choice title="Attributed" value="1">
                <sliver>
                    <property type="string" configurableProperty="attributedText" placeholder="Text" attributed="true"/>
                </sliver>
            </choice>
        </chooser>
        <sliver title="Lines">
            <property type="number" minimum="0" keyPath="inspectedObjectsController.selection.object.numberOfLines" actionSelector="constrainBoundsOfSelectionToNearestLegalSize"/>
        </sliver>
        <sliver title="Behavior">
            <property type="boolean" title="Enabled" keyPath="inspectedObjectsController.selection.object.enabled"/>
            <property type="boolean" title="Highlighted" keyPath="inspectedObjectsController.selection.object.highlighted"/>
        </sliver>
        <!-- tvOS -->
        <sliver visibleKeyPath="inspectedObjectsController.selection.object.ibShowEnablesMarqueeWhenAncestorFocused">
            <property type="boolean" title="Marquee on Ancestor Focus" keyPath="inspectedObjectsController.selection.object.enablesMarqueeWhenAncestorFocused" />
        </sliver>
    </section>
    <section>
        <sliver title="Tooltip">
            <property type="boolean" title="Shows Expansion Text" keyPath="inspectedObjectsController.selection.object.showsExpansionTextWhenTruncated"/>
        </sliver>
    </section>
    <section>
        <sliver title="Baseline">
            <property type="enumeration" keyPath="inspectedObjectsController.selection.object.baselineAdjustment">
                <option-group>
                    <option title="Align Baselines" value="0"/>
                    <option title="Align Centers" value="1"/>
                    <option title="None" value="2"/>
                </option-group>
            </property>
        </sliver>
    </section>
    <section>
        <sliver title="Line Break">
            <property type="enumeration" keyPath="inspectedObjectsController.selection.object.ibInspectedLineBreakMode">
                <option-group>
                    <option title="Clip" value="2"/>
                </option-group>
                <option-group>
                    <option title="Character Wrap" value="1"/>
                    <option title="Word Wrap" value="0"/>
                </option-group>
                <option-group>
                    <option title="Truncate Head" value="3"/>
                    <option title="Truncate Middle" value="5"/>
                    <option title="Truncate Tail" value="4"/>
                </option-group>
            </property>
        </sliver>
        <sliver title="Strategy">
            <property type="enumeration" keyPath="inspectedObjectsController.selection.object.ibInspectedLineBreakStrategy">
                <option-group>
                    <option title="None" value="0" />
                </option-group>
                <option-group>
                    <option title="Standard" value="0xFFFF" />
                </option-group>
                <option-group>
                    <option title="Push Out" value="1" />
                    <option title="Hangul Word Priority" value="2" />
                    <option title="Hangul Word Priority, Push Out" value="3" />
                </option-group>
            </property>
        </sliver>
    </section>
    <section>
        <chooser title="Autoshrink" type="number" keyPath="inspectedObjectsController.selection.object.ibInspectedAutoshrinkMode">
            <choice title="Fixed Font Size" value="0"/>
            <choice type="separator"/>
            <choice title="Minimum Font Scale" value="1">
                <sliver>
                    <property type="number" minimum="0.001" maximum="1.0" increment="0.05" formatStyle="decimal" keyPath="inspectedObjectsController.selection.object.minimumScaleFactor"/>
                </sliver>
            </choice>
            <choice title="Minimum Font Size" value="2">
                <sliver>
                    <property type="number" minimum="0.001" formatStyle="decimal" keyPath="inspectedObjectsController.selection.object.minimumFontSize"/>
                </sliver>
            </choice>
        </chooser>
        <sliver>
            <property type="boolean" title="Tighten Letter Spacing" keyPath="inspectedObjectsController.selection.object.ibInspectedAdjustsLetterSpacingToFitWidth"/>
        </sliver>
    </section>
    <section>
        <sliver title="Sizing Rule">
            <property type="enumeration" keyPath="inspectedObjectsController.selection.object.sizingRule">
                <option-group>
                    <option title="Typographic" value="0" />
                    <option title="Oversize" value="1" />
                </option-group>
            </property>
        </sliver>
    </section>
    <section>
        <sliver title="Highlighted">
            <property type="ib-named-color" defaultColor="NSCalibratedWhiteColorSpace 0 1" defaultColorForNil="true" configurableProperty="highlightedColor" />
        </sliver>
        <sliver title="Shadow">
            <property type="ib-named-color" defaultColorForNil="true" configurableProperty="shadowColor" />
        </sliver>
        <sliver title="Shadow Offset">
            <property type="size" allowsNegativeValues="YES" keyPath="inspectedObjectsController.selection.object.shadowOffset"/>
        </sliver>
    </section>
</slice>
