Skip to content

Commit

Permalink
specify align attribute type as enum
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios committed Nov 23, 2024
1 parent 888b864 commit 7a1297b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion rsrc/schemas/dialog.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,14 @@
<xs:attributeGroup ref="frame"/>
<xs:attributeGroup ref="font"/>
<xs:attribute name="underline" type="bool"/>
<xs:attribute name="align" type="xs:string"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="left"/>
<xs:enumeration value="right"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute ref="def-key"/>
<xs:attribute name="fromlist" default="none" type="xs:string"/>
<xs:attributeGroup ref="rect-size"/>
Expand Down

0 comments on commit 7a1297b

Please sign in to comment.