Skip to content

Commit

Permalink
Adjust text of alignment options on flashcards
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Aug 4, 2024
1 parent 7be125a commit 684a468
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3555,8 +3555,8 @@
<displayStyle label="Card Layout" type="ComboBox" options="One at a time,In a row,In a column" data="one,horizontal,vertical" optional="true" defaultValue="one" tooltip="Display cards one at a time or in a row/column"/>

<alignment type="group" label="Content alignment" optional="true" tooltip="sets the alignment of all card without alignment set">
<textAlign label="Align text" type="ComboBox" options="Left,Center,Right" data="left,center,right" defaultValue="Left" optional="true" tooltip="aligns horizontaly"/>
<contentAlign label="Align content" type="ComboBox" options="Top,Center,Bottom" data="flex-start,center,flex-end" defaultValue="Top" optional="true" tooltip="aligns vertically"/>
<textAlign label="Horizontal Alignment" type="ComboBox" options="Left,Center,Right" data="left,center,right" defaultValue="Left" optional="true" tooltip="Aligns content horizontaly"/>
<contentAlign label="Vertical Alignment" type="ComboBox" options="Top,Center,Bottom" data="flex-start,center,flex-end" defaultValue="Top" optional="true" tooltip="Aligns content vertically"/>
</alignment>

<alignTitle label="Align Title" type="CheckBox" defaultValue="false" optional="true" tooltip="if enabled the title is aligned as well"/>
Expand Down
2 changes: 1 addition & 1 deletion src/Nottingham/wizards/en-GB/flashCards.xwd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<wizard menus="Navigators"> <pageWizard remove="true" duplicate="false"> <newNodes> <flashCards><![CDATA[<flashCards name="Enter Page Title" text="" cardNoTxt="Card {i} of {n}" flipTxt="Flip Card" nextTxt="Next" prevTxt="Previous" backScrollTip="Scroll Back" nextScrollTip="Scroll Forward" />]]></flashCards> </newNodes> </pageWizard> <!-- FLASH CARDS=============================== --> <flashCards menu="Navigators" menuItem="Flash Cards" icon="icRefreshPage" remove="true" thumb="thumbs/flashCards.jpg" example="https://xot.xerte.org.uk/play_116?hide=bottom#flashcards" wiki="https://xerte.org.uk/wiki/doku.php?id=navigator_flashcards_page" hint="A series of double sided flash cards containing text and media."> <name label="Page Title" type="TextInput" wysiwyg="true" /> <text label="Page Text" type="TextArea" height="120" placeholder="Enter text for the page here"/> <random label="Randomise Cards" type="Checkbox" optional="true" tooltip="Randomise the order of the cards" /> <amountToShow label="Cards To Show" type="NumericStepper" min="1" max="1000" step="1" defaultValue="1" optional="true" tooltip="Use with 'Randomise Cards' to show a limited number of randomly selected cards"/> <displayStyle label="Card Layout" type="ComboBox" options="One at a time,In a row,In a column" data="one,horizontal,vertical" optional="true" defaultValue="one" tooltip="Display cards one at a time or in a row/column"/> <alignment type="group" label="Content alignment" optional="true" tooltip="sets the alignment of all card without alignment set"> <textAlign label="Align text" type="ComboBox" options="Left,Center,Right" data="left,center,right" defaultValue="Left" optional="true" tooltip="aligns horizontaly"/> <contentAlign label="Align content" type="ComboBox" options="Top,Center,Bottom" data="flex-start,center,flex-end" defaultValue="Top" optional="true" tooltip="aligns vertically"/> </alignment> <alignTitle label="Align Title" type="CheckBox" defaultValue="false" optional="true" tooltip="if enabled the title is aligned as well"/> <sizing type="group" label="Card Size" optional="true"> <cardSize label="Width" type="ComboBox" options="Small,Medium,Large,Full" data="small,medium,large,full" defaultValue="medium" width="100" optional="true"/> <cardHeight label="Height" type="ComboBox" options="Fill Space,Fit to Content,Match Tallest Card" data="default,fit,match" defaultValue="default" width="100" optional="true"/> </sizing> <cardNoTxt label="Card No. Text" type="TextInput" language="true" /> <flipTxt label="Flip Button Label" type="TextInput" language="true"/> <nextTxt label="Next Button Label" type="TextInput" language="true" /> <prevTxt label="Previous Button Label" type="TextInput" language="true" /> <backScrollTip label="Scroll Back Label" type="TextInput" wysiwyg="true" language="true" /> <nextScrollTip label="Scroll Forward Label" type="TextInput" wysiwyg="true" language="true" /> <newNodes> <card><![CDATA[<card name="Enter Title Here" side1="" side2="" textalign="left" contentalign="flex-start"/>]]></card> </newNodes> </flashCards> <card menuItem="Card" icon="icTwoPages" remove="true"> <name label="Title" type="TextInput" wysiwyg="true"/> <side1 label="Side 1 Text" type="TextArea" height="120" placeholder="Enter text for side one of the card here"/> <side2 label="Side 2 Text" type="TextArea" height="120" placeholder="Enter text for side two of the card here"/> <alignment type="group" label="Content alignment" optional="true"> <textAlign label="Align text" type="ComboBox" options="Left,Center,Right" data="left,center,right" defaultValue="Left" optional="true" tooltip="aligns horizontaly"/> <contentAlign label="Align content" type="ComboBox" options="Top,Center,Bottom" data="flex-start,center,flex-end" defaultValue="Top" optional="true" tooltip="aligns vertically"/> </alignment> <alignTitle label="Align Title" type="CheckBox" defaultValue="false" optional="true" tooltip="if enabled the title is aligned as well"/> <side1Media type="group" label="Side 1 Media" optional="true" tooltip="Media shown on the front of this card"> <media1 label="File" type="Media" optional="true" defaultValue="" placeholder="Select a file" tooltip="Upload an image, audio or video file, or paste in an embed code or YouTube/Vimeo URL"/> <tip1 label="Description" type="textInput" optional="true" defaultValue="" placeholder="Enter a description for accessibility"/> <align1 label="Position" options="Top,Bottom" type="ComboBox" optional="true" data="Top,Bottom" defaultValue="Bottom" width="100"/> <transcript1 label="Audio Transcript" type="textArea" height="100" defaultValue="" optional="true" tooltip="If media if MP3, a transcript button will appear on the audio player when text is added here"/> </side1Media> <side2Media type="group" label="Side 2 Media" optional="true" tooltip="Media shown on the front of this card"> <media2 label="File" type="Media" optional="true" defaultValue="" placeholder="Select a file" tooltip="Upload an image, audio or video file, or paste in an embed code or YouTube/Vimeo URL"/> <tip2 label="Description" type="textInput" optional="true" defaultValue="" placeholder="Enter a description for accessibility"/> <align2 label="Position" options="Top,Bottom" type="ComboBox" optional="true" data="Top,Bottom" defaultValue="Bottom" width="100"/> <transcript2 label="Audio Transcript" type="textArea" height="100" defaultValue="" optional="true" tooltip="If media if MP3, a transcript button will appear on the audio player when text is added here"/> </side2Media> </card></wizard>
<wizard menus="Navigators"> <pageWizard remove="true" duplicate="false"> <newNodes> <flashCards><![CDATA[<flashCards name="Enter Page Title" text="" cardNoTxt="Card {i} of {n}" flipTxt="Flip Card" nextTxt="Next" prevTxt="Previous" backScrollTip="Scroll Back" nextScrollTip="Scroll Forward" />]]></flashCards> </newNodes> </pageWizard> <!-- FLASH CARDS=============================== --> <flashCards menu="Navigators" menuItem="Flash Cards" icon="icRefreshPage" remove="true" thumb="thumbs/flashCards.jpg" example="https://xot.xerte.org.uk/play_116?hide=bottom#flashcards" wiki="https://xerte.org.uk/wiki/doku.php?id=navigator_flashcards_page" hint="A series of double sided flash cards containing text and media."> <name label="Page Title" type="TextInput" wysiwyg="true" /> <text label="Page Text" type="TextArea" height="120" placeholder="Enter text for the page here"/> <random label="Randomise Cards" type="Checkbox" optional="true" tooltip="Randomise the order of the cards" /> <amountToShow label="Cards To Show" type="NumericStepper" min="1" max="1000" step="1" defaultValue="1" optional="true" tooltip="Use with 'Randomise Cards' to show a limited number of randomly selected cards"/> <displayStyle label="Card Layout" type="ComboBox" options="One at a time,In a row,In a column" data="one,horizontal,vertical" optional="true" defaultValue="one" tooltip="Display cards one at a time or in a row/column"/> <alignment type="group" label="Content alignment" optional="true" tooltip="sets the alignment of all card without alignment set"> <textAlign label="Horizontal Alignment" type="ComboBox" options="Left,Center,Right" data="left,center,right" defaultValue="Left" optional="true" tooltip="Aligns content horizontaly"/> <contentAlign label="Vertical Alignment" type="ComboBox" options="Top,Center,Bottom" data="flex-start,center,flex-end" defaultValue="Top" optional="true" tooltip="Aligns content vertically"/> </alignment> <alignTitle label="Align Title" type="CheckBox" defaultValue="false" optional="true" tooltip="if enabled the title is aligned as well"/> <sizing type="group" label="Card Size" optional="true"> <cardSize label="Width" type="ComboBox" options="Small,Medium,Large,Full" data="small,medium,large,full" defaultValue="medium" width="100" optional="true"/> <cardHeight label="Height" type="ComboBox" options="Fill Space,Fit to Content,Match Tallest Card" data="default,fit,match" defaultValue="default" width="100" optional="true"/> </sizing> <cardNoTxt label="Card No. Text" type="TextInput" language="true" /> <flipTxt label="Flip Button Label" type="TextInput" language="true"/> <nextTxt label="Next Button Label" type="TextInput" language="true" /> <prevTxt label="Previous Button Label" type="TextInput" language="true" /> <backScrollTip label="Scroll Back Label" type="TextInput" wysiwyg="true" language="true" /> <nextScrollTip label="Scroll Forward Label" type="TextInput" wysiwyg="true" language="true" /> <newNodes> <card><![CDATA[<card name="Enter Title Here" side1="" side2="" textalign="left" contentalign="flex-start"/>]]></card> </newNodes> </flashCards> <card menuItem="Card" icon="icTwoPages" remove="true"> <name label="Title" type="TextInput" wysiwyg="true"/> <side1 label="Side 1 Text" type="TextArea" height="120" placeholder="Enter text for side one of the card here"/> <side2 label="Side 2 Text" type="TextArea" height="120" placeholder="Enter text for side two of the card here"/> <alignment type="group" label="Content alignment" optional="true"> <textAlign label="Align text" type="ComboBox" options="Left,Center,Right" data="left,center,right" defaultValue="Left" optional="true" tooltip="aligns horizontaly"/> <contentAlign label="Align content" type="ComboBox" options="Top,Center,Bottom" data="flex-start,center,flex-end" defaultValue="Top" optional="true" tooltip="aligns vertically"/> </alignment> <alignTitle label="Align Title" type="CheckBox" defaultValue="false" optional="true" tooltip="if enabled the title is aligned as well"/> <side1Media type="group" label="Side 1 Media" optional="true" tooltip="Media shown on the front of this card"> <media1 label="File" type="Media" optional="true" defaultValue="" placeholder="Select a file" tooltip="Upload an image, audio or video file, or paste in an embed code or YouTube/Vimeo URL"/> <tip1 label="Description" type="textInput" optional="true" defaultValue="" placeholder="Enter a description for accessibility"/> <align1 label="Position" options="Top,Bottom" type="ComboBox" optional="true" data="Top,Bottom" defaultValue="Bottom" width="100"/> <transcript1 label="Audio Transcript" type="textArea" height="100" defaultValue="" optional="true" tooltip="If media if MP3, a transcript button will appear on the audio player when text is added here"/> </side1Media> <side2Media type="group" label="Side 2 Media" optional="true" tooltip="Media shown on the front of this card"> <media2 label="File" type="Media" optional="true" defaultValue="" placeholder="Select a file" tooltip="Upload an image, audio or video file, or paste in an embed code or YouTube/Vimeo URL"/> <tip2 label="Description" type="textInput" optional="true" defaultValue="" placeholder="Enter a description for accessibility"/> <align2 label="Position" options="Top,Bottom" type="ComboBox" optional="true" data="Top,Bottom" defaultValue="Bottom" width="100"/> <transcript2 label="Audio Transcript" type="textArea" height="100" defaultValue="" optional="true" tooltip="If media if MP3, a transcript button will appear on the audio player when text is added here"/> </side2Media> </card></wizard>
Expand Down
4 changes: 2 additions & 2 deletions src/Nottingham/wizards/en-GB/template.xwd
Original file line number Diff line number Diff line change
Expand Up @@ -3555,8 +3555,8 @@
<displayStyle label="Card Layout" type="ComboBox" options="One at a time,In a row,In a column" data="one,horizontal,vertical" optional="true" defaultValue="one" tooltip="Display cards one at a time or in a row/column"/>

<alignment type="group" label="Content alignment" optional="true" tooltip="sets the alignment of all card without alignment set">
<textAlign label="Align text" type="ComboBox" options="Left,Center,Right" data="left,center,right" defaultValue="Left" optional="true" tooltip="aligns horizontaly"/>
<contentAlign label="Align content" type="ComboBox" options="Top,Center,Bottom" data="flex-start,center,flex-end" defaultValue="Top" optional="true" tooltip="aligns vertically"/>
<textAlign label="Horizontal Alignment" type="ComboBox" options="Left,Center,Right" data="left,center,right" defaultValue="Left" optional="true" tooltip="Aligns content horizontaly"/>
<contentAlign label="Vertical Alignment" type="ComboBox" options="Top,Center,Bottom" data="flex-start,center,flex-end" defaultValue="Top" optional="true" tooltip="Aligns content vertically"/>
</alignment>

<alignTitle label="Align Title" type="CheckBox" defaultValue="false" optional="true" tooltip="if enabled the title is aligned as well"/>
Expand Down

0 comments on commit 684a468

Please sign in to comment.