Skip to content

Commit

Permalink
Fixed issue: Question Attribute - Image Select List (radio)
Browse files Browse the repository at this point in the history
- Added 'Keep-aspect-ratio' to Display Tab.
  • Loading branch information
thedirtypanda committed Feb 26, 2021
1 parent c31daaf commit c632b07
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions application/views/survey/questions/answer/listradio/config.xml
Expand Up @@ -238,6 +238,25 @@
<help>Crop images to fit into size. Needs JavaScript enabled.</help>
<caption>Crop or Resize</caption>
</attribute>
<attribute>
<name>keep_aspect</name>
<category>Display</category>
<sortorder>90</sortorder>
<inputtype>buttongroup</inputtype>
<options>
<option>
<value>0</value>
<text>No</text>
</option>
<option>
<value>1</value>
<text>Yes</text>
</option>
</options>
<default>0</default>
<help>Keep images aspect ratio. Can be achieved by not setting both width and height. Needs JavaScript enabled.</help>
<caption>Keep aspect-ratio</caption>
</attribute>
<!-- Display Attributes END -->
<!-- Logic Attributes START -->
<attribute>
Expand Down

0 comments on commit c632b07

Please sign in to comment.