I am trying to create a "conversation control" that can show a running list of entries, much like the IM application on many smartphones. To do this, I was thinking about using a WinGrid and then merging cells together to get the overlap look that is prevalent with other UIs that do this sort of thing.
I started by trying to merge cells and shown in this example (http://forums.infragistics.com/forums/p/34712/206196.aspx#206196), but was unsuccessful.
Does anyone know of a way to mimic the overlapping "text bubbles" look prevalent in many IM apps? Does Infragistics have a control that would be easily adaptable to this?
Hello ,
What you could do is to setting MinRowHeight in InitializeLayout event of the UltraGrid:
e.Layout.Override.MinRowHeight = 60;
I hope that this will helps you.
Sorry for missing your reply! I was looking for an email on updates to the thread. I'll pay closer attention in the future.
I pulled your updated project and took a look. The "unselectable" cells looks great. However, there seems to be a problem in that the message is completely cut off when there is only one line in the message. For example, if you look at the first few messages, their text is gone. This seems to be made worse by tweeaking the CellPadding from 10 to lower numbers.
I was trying to tighten up the boxes around the text by making the CellPadding number lower, but the text gets cut off or is not shown at all.
If you can think of a quick fix for making the boxes tighter around the text, that would be great. If not, this is still much better! I appreciate your help.
Regards,
Keith
Hi,
I just wanted to know if you were able to solve your issue based on our suggestions or you still need help? Just let me know.
Thank you.
Hello,
I have modified a little the code in the creation filter and in your custom control and now it should work better.
I hope this will help you
I just put this control into my main project and can see that the cell padding issue is the main problem. Screen real estate is at a premium, and the extra white space is really problematic. Do either of you have another suggestion for getting the cell padded evenly all around? Neither the extra line in the format string, nor the CellPadding idea have been successful.
Thanks,