# Two lines Apple Script Widget - Font size not adapted for the second line?

**URL:** <https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977>\
**Category:** Bugs or Unexpected Behavior\
**Tags:** touch-bar, applescript-widget\
**Created:** [June 10, 2019, 7:30pm UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977 "2019-06-10T19:30:45Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Caliguvara](https://community.folivora.ai/user_avatar/community.folivora.ai/caliguvara/32/42570_2.png) [@Caliguvara](https://community.folivora.ai/u/Caliguvara)\
**Post date:** [June 10, 2019, 7:30pm UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977/1 "2019-06-10T19:30:45Z")

</div>

**Describe the bug**  
Could it be that the "Font size" is used only for the first line, and the second uses the default size?

**Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):**  
TouchBar

**Screenshots**

 ![46](https://community.folivora.ai/uploads/default/original/2X/7/77c164b07a573205b71ed009b2aad78e9f009f90.jpeg)  
 ![43](https://community.folivora.ai/uploads/default/original/2X/5/5e2571b0c79fc0c001573c2b1aeb14e78d0ef5fc.png)  
Default text size it 12.

**Device information:**

- Type of Mac: MacBookPro15,1
- macOS version: 10.14.6 PB
- BTT version: 3.065

**Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):**  
xxx

**Note:** Before bug reporting, please make sure you have the latest version of BetterTouchTool and that you have already tried to restart your system :-). If you encounter a crash, please attach a crash log from the macOS Console.app from the "User Diagnostic Reports" section.

[Download the widget here.](https://share.folivora.ai/sharedPreset/b6974147-2be3-460b-9382-3d6b23c37427)

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [June 10, 2019, 7:39pm UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977/2 "2019-06-10T19:39:38Z")

</div>

ah I have just added support for multi line date widgets in v2.066 (which is not online yet). Will upload in about half an hour.

---

<div class="post-metadata">

**Author:** ![Caliguvara](https://community.folivora.ai/user_avatar/community.folivora.ai/caliguvara/32/42570_2.png) [@Caliguvara](https://community.folivora.ai/u/Caliguvara)\
**Post date:** [June 10, 2019, 7:53pm UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977/3 "2019-06-10T19:53:32Z")

</div>

Funny. Thanks 😉

---

<div class="post-metadata">

**Author:** ![Phil](https://community.folivora.ai/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@Phil](https://community.folivora.ai/u/Phil)\
**Post date:** [June 12, 2019, 12:40am UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977/4 "2019-06-12T00:40:52Z")

</div>

This is happening for me for the two line calendar and also the two line forecast widgets. The second line does not seem to use the same font size. Worked fine in 2.xx, but just updated to 3.069

---

<div class="post-metadata">

**Author:** ![Caliguvara](https://community.folivora.ai/user_avatar/community.folivora.ai/caliguvara/32/42570_2.png) [@Caliguvara](https://community.folivora.ai/u/Caliguvara)\
**Post date:** [June 12, 2019, 3:31am UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977/5 "2019-06-12T03:31:05Z")

</div>

Solved it! Add a second line in the name of the widget, and the Font Size for the second line will appear inside the settings!

---

<div class="post-metadata">

**Author:** ![TouchAddict](https://community.folivora.ai/letter_avatar_proxy/v4/letter/t/b782af/32.png) [@TouchAddict](https://community.folivora.ai/u/TouchAddict)\
**Post date:** [June 12, 2019, 4:09am UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977/6 "2019-06-12T04:09:53Z")

</div>

I have the same issue, but with an apple script widget which outputs two lines. Was fine in the previous versions, broken in 3.069. For apple script widget there is no second line size setting.

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [June 12, 2019, 6:11am UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977/7 "2019-06-12T06:11:12Z")

</div>

I'll add some compatibility code to retain the old behavior if no second line font-size is set soon.  
@TouchAddict, if you give the widget a two line title, the font size setting will show up.

---

<div class="post-metadata">

**Author:** ![TouchAddict](https://community.folivora.ai/letter_avatar_proxy/v4/letter/t/b782af/32.png) [@TouchAddict](https://community.folivora.ai/u/TouchAddict)\
**Post date:** [June 12, 2019, 6:25am UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977/8 "2019-06-12T06:25:03Z")

</div>

Thanks Andreas, that worked! For some reason though, it looks like the second line is using a different font: ![image](https://community.folivora.ai/uploads/default/original/2X/d/d83818984517c7e2d436a0970089cbbf05249269.png)

---

<div class="post-metadata">

**Author:** ![Caliguvara](https://community.folivora.ai/user_avatar/community.folivora.ai/caliguvara/32/42570_2.png) [@Caliguvara](https://community.folivora.ai/u/Caliguvara)\
**Post date:** [June 12, 2019, 6:27am UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977/9 "2019-06-12T06:27:03Z")

</div>

Thanks! It drive me nuts yesterday evening wondering if it was me or if the two lines were different! Thought it was tiredness, but apparently we all lack some sleep 😉

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [June 12, 2019, 6:33am UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977/10 "2019-06-12T06:33:03Z")

</div>

ah thanks for noticing, for some reason the font properties seem not to be applied to the second line. Will fix that 🙂

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [June 12, 2019, 6:40am UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977/11 "2019-06-12T06:40:21Z")

</div>

Fixed in v3.070 (will be online in about 10 minutes)

The behavior is now like this:

- if there are two lines and no explicit second line font size is set:
  - if two lines can fit with the selected line 1 font size: use the same size for the second line
  - if only one line can fit with the selected line 1 font size: automatically use a smaller one for the second line

- if an explicit second line font size is set, use that - no matter whether it will fit or not.

---

<div class="post-metadata">

**Author:** ![TouchAddict](https://community.folivora.ai/letter_avatar_proxy/v4/letter/t/b782af/32.png) [@TouchAddict](https://community.folivora.ai/u/TouchAddict)\
**Post date:** [June 12, 2019, 7:36am UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977/12 "2019-06-12T07:36:26Z")

</div>

Thanks Andreas, its working as expected now!

---

<div class="post-metadata">

**Author:** ![indeox](https://community.folivora.ai/user_avatar/community.folivora.ai/indeox/32/6411_2.png) [@indeox](https://community.folivora.ai/u/indeox)\
**Post date:** [June 12, 2019, 11:07am UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977/13 "2019-06-12T11:07:24Z")

</div>

Hi Andreas, thanks for explaining the new behaviour. Having a similar issue here too using a Shell/Task widget here (via a JSON response), and getting different font sizes for the second line.

What's the JSON key for forcing the second line to a specific font size please? Have been using `font_size` so far.

Thanks!

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [June 12, 2019, 11:14am UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977/14 "2019-06-12T11:14:45Z")

</div>

make sure to update to v3.070 alpha - then it should work as before when not setting the font size explicitly.  
Setting the font-size for the second line manually requires you to add a two line title to the shell script widget, then it will show the configuration.

---

<div class="post-metadata">

**Author:** ![indeox](https://community.folivora.ai/user_avatar/community.folivora.ai/indeox/32/6411_2.png) [@indeox](https://community.folivora.ai/u/indeox)\
**Post date:** [June 12, 2019, 11:20am UTC](https://community.folivora.ai/t/two-lines-apple-script-widget-font-size-not-adapted-for-the-second-line/8977/15 "2019-06-12T11:20:52Z")

</div>

Ahh, sorry, I thought it had updated to the latest, but it wasn't installed yet.

Ignore me... looking good again now! Thanks a lot
