Author Topic: Hover Data Preview - DataPreviewTemplates_tpl.xml  (Read 3263 times)

User_99

  • Active Member
  • ***
  • Posts: 70
    • View Profile
Hover Data Preview - DataPreviewTemplates_tpl.xml
« on: November 20, 2022, 11:25:54 »
Hi Mathias,

small glitch in default DataPreviewTemplates_tpl.xml

Line 102:        <Text Column="0" Row="4" ColSpan="2" Text="${MCPictureProp.img_dimensions}" />
Line 103:        <Text Column="0" Row="4" ColSpan="2" Text="${MCPictureProp.fnum} ${MCPictureProp.exposure} ${MCPictureProp.exposurebias}" />

Text is displayed overlapping. Think code should be:

Line 102:        <Text Column="0" Row="4" Text="${MCPictureProp.img_dimensions}" />
Line 103:        <Text Column="1" Row="4" Text="${MCPictureProp.fnum} ${MCPictureProp.exposure} ${MCPictureProp.exposurebias}" />

ColSpan="2" removed and "1" instead of "0" in line 103

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4271
    • View Profile
    • Multi Commander
Re: Hover Data Preview - DataPreviewTemplates_tpl.xml
« Reply #1 on: November 20, 2022, 17:48:39 »

The glitch is the Row.  Seconds Row=4 should have been 5. and All the other should jump one step..


        <Text Column="0" Row="4" ColSpan="2" Text="${MCPictureProp.img_dimensions}" />
        <Text Column="0" Row="5" ColSpan="2" Text="${MCPictureProp.fnum} ${MCPictureProp.exposure} ${MCPictureProp.exposurebias}" />

        <Text Column="0" Row="6" Text="File date" />
        <Text Column="1" Row="6" Text="${core.date}" />

        <Text Column="0" Row="7" Text="Picture date"/>
        <Text Column="1" Row="7" Text="${MCPictureProp.date}" HideRowIfEmpty="True"/>

        <Text Column="0" Row="8" Text="${@,MCPictureProp.model}"/>
        <Text Column="1" Row="8" Text="${MCPictureProp.model}" HideRowIfEmpty="True"/>

User_99

  • Active Member
  • ***
  • Posts: 70
    • View Profile
Re: Hover Data Preview - DataPreviewTemplates_tpl.xml
« Reply #2 on: November 20, 2022, 20:32:39 »
OK, also a solution ;)
Thx for the explanation.