Posted 17 years ago
by Matt Whitfield
Version: 4.0.0262
Platform: .NET 2.0
Environment: Windows XP (32-bit)
Hello
I have a user of my app who insists on using incredibly large font size (20+), and in my app, when the memberlist is shown, the size of each item is still only 16 pixels, and so the font is truncated.
I have tried this in the test application, by adding:But in the test application the Memberlist shows up with each item the right height for the font. So I looked at how you set up the member list, and noticed that it's significantly different to how i do it (I add new items manually).
So I added the following code to the memberlist trigger (I've included a few lines above to give you some context):And... Hey presto... it does the same thing - i get a small item which isn't the height of the font it's being drawn in...
So...
Is this actually a bug, or am I missing something?
Thanks for your excellent support (i'm confident that i will receive a good answer - such is the service i've come to expect from you guys!)
I have a user of my app who insists on using incredibly large font size (20+), and in my app, when the memberlist is shown, the size of each item is still only 16 pixels, and so the font is truncated.
I have tried this in the test application, by adding:
editor.Font = new Font("Lucida Console", 20F);
editor.IntelliPrompt.MemberList.Font = editor.Font;
So I added the following code to the memberlist trigger (I've included a few lines above to give you some context):
switch (editor.Document.Language.Key) {
case "C#": {
switch (e.Trigger.Key) {
case "MemberListTrigger": {
editor.IntelliPrompt.MemberList.Add(new IntelliPromptMemberListItem("hello", 1, "wow", "yeah", "no way"));
editor.IntelliPrompt.MemberList.Show();
return;
So...
Is this actually a bug, or am I missing something?
Thanks for your excellent support (i'm confident that i will receive a good answer - such is the service i've come to expect from you guys!)