|
Rank: Newbie Groups: Member
Joined: 2/21/2016 Posts: 8
|
Hi Team,
I am using acmtext to fill the description let say description is around 1000 characters where as the width of ACMTEXT is set to 3f. So it fits with in the width but the first line of the description starts with a empty space and padding bottom with next line. Apart from the first line of description rest has consistent layout. My objective is to keep that first line also in the same alignment of the other line.
Eg. A crocodile is any species belonging to the family of Crocodylidae (sometimes classified instead as the
subfamily Crocodylinae). The term can also be used more loosely to include all members of the order Crocodilia: i.e. the true crocodiles, the alligators and caimans (family Alligatoridae) and the gharials (family Gavialidae), or even the Crocodylomorpha which includes prehistoric crocodile relatives and ancestors. Created
In above sample first line starts with some empty space before and padding bottom as well. Please give me some idea to overcome to keep consistent alignment.
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Can you provide some sample code to demonstrate what you described so that we can understand the problem better?
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 2/21/2016 Posts: 8
|
AcmText skuText = new AcmText(); skuText.AutoTrim = false; skuText.Text = HttpUtility.HtmlDecode("A crocodile is any species belonging to the family of Crocodylidae (sometimes classified instead as the subfamily Crocodylinae). The term can also be used more loosely to include all members of the order Crocodilia: i.e. the true crocodiles, the alligators and caimans (family Alligatoridae) and the gharials (family Gavialidae), or even the Crocodylomorpha which includes prehistoric crocodile relatives and ancestors. Created");
CellObj.Children.Add(skuText);
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Please provide a full working sample code that we can run and reproduce the problem.
Thanks!
|
|