Re: [Interest] TextMetrics give wrong metrics for some strings

2016-03-21 Thread Elvis Stansvik
2016-03-21 11:09 GMT+01:00 Jens Bache-Wiig : > >> On 21 Mar 2016, at 10:47, Elvis Stansvik wrote: >> >> 2016-03-21 10:42 GMT+01:00 Elvis Stansvik : >>> 2016-03-21 10:27 GMT+01:00 Elvis Stansvik : Hi all, I'm attempting to make a custom Button item where the size of the button i

Re: [Interest] TextMetrics give wrong metrics for some strings

2016-03-21 Thread Jens Bache-Wiig
> On 21 Mar 2016, at 10:47, Elvis Stansvik wrote: > > 2016-03-21 10:42 GMT+01:00 Elvis Stansvik : >> 2016-03-21 10:27 GMT+01:00 Elvis Stansvik : >>> Hi all, >>> >>> I'm attempting to make a custom Button item where the size of the >>> button is determined by the metrics of the text it holds. Th

Re: [Interest] TextMetrics give wrong metrics for some strings

2016-03-21 Thread Elvis Stansvik
2016-03-21 10:42 GMT+01:00 Elvis Stansvik : > 2016-03-21 10:27 GMT+01:00 Elvis Stansvik : >> Hi all, >> >> I'm attempting to make a custom Button item where the size of the >> button is determined by the metrics of the text it holds. The reason >> is I want to put a thin rectangle below the text, s

Re: [Interest] TextMetrics give wrong metrics for some strings

2016-03-21 Thread Elvis Stansvik
2016-03-21 10:27 GMT+01:00 Elvis Stansvik : > Hi all, > > I'm attempting to make a custom Button item where the size of the > button is determined by the metrics of the text it holds. The reason > is I want to put a thin rectangle below the text, sort of a stylistic > underlining (text underlining

Re: [Interest] TextMetrics give wrong metrics for some strings

2016-03-21 Thread Elvis Stansvik
2016-03-21 10:27 GMT+01:00 Elvis Stansvik : > Hi all, > > I'm attempting to make a custom Button item where the size of the > button is determined by the metrics of the text it holds. The reason > is I want to put a thin rectangle below the text, sort of a stylistic > underlining (text underlining

[Interest] TextMetrics give wrong metrics for some strings

2016-03-21 Thread Elvis Stansvik
Hi all, I'm attempting to make a custom Button item where the size of the button is determined by the metrics of the text it holds. The reason is I want to put a thin rectangle below the text, sort of a stylistic underlining (text underlining is not sufficient, for aesthetic reasons). But I'm see