DKRUBEN 19 Posted April 16, 2017 (edited) Hello everyone, it's the following before the clock goes to the widgets.xc file, I had the hangar clock with a picture, the issue is that I do not know how to redo it now in the new file.All the help is welcome, thank youHere is the old configuration. { "clock": { "enabled": ${"settings.xc":"settings.clock"}, "x": -300, "y": 0, "width": 150, "height": 53, "layer": "top", "align": "center", "valign": "top", "textAlign": "center", "textVAlign": "top", "alpha": 100, "rotation": 0, "borderColor": null, "bgColor": null, "bgImage": "cfg://DriftKings/@DriftKings/icons/bgClock.png", "antiAliasType": "advanced", "format": "<font face='$FieldFont' color='#BCBCBC'><textformat rightMargin='25' leading='-2'><font size='22'>{{h%02d}}:{{m%02d}}:{{s%02d}}</font>\n<font size='14' leading='-10'>{{D%02d}} {{MM}}, {{W}}</font></font></textformat>", "shadow": { "enabled": true, "distance": 0, "angle": 90, "color": "0x000000", "alpha": 100, "blur": 4, "strength": 2 } } } Edited April 22, 2017 by Mixaill formatting Share this post Link to post Short link Share on other sites
konrad509 445 #386078 Posted April 16, 2017 Be more specific. What's the problem? What do you want? Share this post Link to post Short link Share on other sites
DKRUBEN 19 #386082 Posted April 16, 2017 Be more specific. What's the problem? What do you want? In the old configuration, I had an image added to the clock in the hangar, but since the file was changed I do not know how to add it. Share this post Link to post Short link Share on other sites
sirmax 5,499 #386085 Posted April 16, 2017 Just create two fields - one with image and second with text. Share this post Link to post Short link Share on other sites
DKRUBEN 19 #386086 Posted April 16, 2017 Just create two fields - one with image and second with text. THX SIRMAX Share this post Link to post Short link Share on other sites
DKRUBEN 19 #386135 Posted April 17, 2017 (edited) Once again big thx for help Sirmax New field added { "clock": { "enabled": ${"settings.xc":"settings.clock"}, "layer": "top", "type": "extrafield", "formats": [ { "x": -370, "y": 0, "width": 200, "height": 50, "updateEvent": "ON_EVERY_SECOND", "screenHAlign": "center", "shadow": { "enabled": true, "distance": 0, "angle": 90, "color": "0x000000", "alpha": 100, "blur": 4, "strength": 2 }, "textFormat": { "align": "right", "valign": "center", "color": "0xBCBCBC" }, "format": "<font face='$FieldFont'><textformat leading='-38'><font size='36'>{{py:xvm.formatDate('%H:%M')}}</font><br></textformat><textformat rightMargin='85' leading='-2'>{{py:xvm.formatDate('%Au')}}<br><font size='15'>{{py:xvm.formatDate('%d %bu %Y')}}</font></textformat></font>" }, { "x": -320, "y": -12, "width": 200, "height": 80, "screenHAlign": "center", "shadow": { "enabled": true, "distance": 0, "angle": 0, "color": "0x000000", "alpha": 100, "blur": 4, "strength": 2 }, "textFormat": { "align": "right", "valign": "center", "color": "0xBCBCBC" }, "format": "<img src='cfg://DriftKings/@DriftKings/icons/bgClock.png'>" } ] } } Edited April 22, 2017 by Mixaill formatting Share this post Link to post Short link Share on other sites
Mixaill 1,740 #386640 Posted April 22, 2017 (edited) Some posts (Japanese) were moved to https://koreanrandom.com/forum/topic/38827-clock-in-hangar-error-with-japanese-windows/ Some posts (AM/PM indication) were moved to https://koreanrandom.com/forum/topic/38828-clock-in-hangar-ampm-indication/ Edited April 22, 2017 by Mixaill Share this post Link to post Short link Share on other sites