Hi Guys, maybe somebody could help me on this question: How to calc text lenghts of WebLabels with non-propertional fonts.
The Problem:
For my internal Issue- und Tracking System I am working on a JIRA-like WebControl for Displaying “IN REVIEW” Tags and Labels.
It basically works and looks like this:
But, my problem now is, that long tags like “this is a long labelname” do not scale proportional in their widths. Of course they can’t because I am using a non-proprotional font calculating the widths with fixed values. This is how I do this:
Is there any way or solution to calculate text width in WebLabels? Something like Graphics.StringWidth?