Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
jee88  
#1 Posted : Tuesday, December 22, 2015 3:15:28 AM(UTC)
jee88

Rank: Member

Groups: Member
Joined: 10/19/2015(UTC)
Posts: 21

Thanks: 11 times
Hi,

How can I change font-size range in customer canvas solution ? Default size range mentioned in sPolygraphy.ts.js that is 0.5 to 200 , but I need to change font-size range in to 9 to 150. how to do that in client side?
Kate D.  
#2 Posted : Tuesday, December 22, 2015 10:44:09 PM(UTC)
Kate D.

Rank: Advanced Member

Groups:
Joined: 10/20/2015(UTC)
Posts: 52

Was thanked: 14 time(s) in 13 post(s)
Hi jee88,

There is no special configuration of font-size range. We will add this feature in our development list, but I'm afraid it will not be included in the upcoming release.

As temporary workaround, you can change this range in our code:

1. Open the \src\SimplePolygraphy\Resources\SPEditor\Scripts\Widgets\TopToolbar\TopToolbar.ts file.
2. Find the 259 string:
Code:
var spinHelper = {
   "spinnerMin": 0.5,
   "spinnerMax": 200,
...
}

3. Change the values of spinnerMin/spinnerMax.

Best regards,
Kate Danilova
Aurigma Inc.

Edited by user Tuesday, December 22, 2015 10:45:03 PM(UTC)  | Reason: Not specified

thanks 1 user thanked Kate D. for this useful post.
jee88 on 12/23/2015(UTC)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.