Sizeable Listbar


05-22-2007, 9:26 AM
   In the Outlook sample for SharpUI, the Outlook bar is resizeable.  What do I have to do to a listbar to make it sizeable at runtime to the user??

Re: Sizeable Listbar


05-22-2007, 12:06 PM
kgw222,
        Thank you for your question. The resizing was done in the Outlook sample using a standard Windows forms splitter control, and the attached sample localizes the sizing functionality to a smaller sample so it is easier to see.

Please let me know if I can be of further assistance. Thank you!
    Eric

Re: Sizeable Listbar


05-22-2007, 2:39 PM
How did you get the listbar to be hosted by the splitter control?  I tried copying and pasting it onto the control but it still docks immeditately to the right of the splitter??

Re: Sizeable Listbar


05-22-2007, 2:45 PM
Please ignore my previous e-mail...I now realizes that the splitter sits directly to the right of the list bar!

Re: Sizeable Listbar


05-22-2007, 3:07 PM
Do you know how to make the right border of the listbar visible (similar to the Outlook bar in the Outlook sample)?  It's not showing up in my project and I can't figure out what property I need to change.  Any suggestions??

Re: Sizeable Listbar


05-22-2007, 3:31 PM
kgw222,
    Thank you for your reply. Unfortunately, I am not sure I completely understand what area or border is in question. Could you please provide a screenshot and brief description about what border you would like to reproduce?

I look forward to hearing from you. Thank you!
    Eric

Re: Sizeable Listbar


05-23-2007, 10:59 AM
Eric,

I've attached a screen print.  I have a list bar with three groups docked ot the left and then a splitter bar and then another control docked to the remaining.  The right side of the list bar doesn't show a line.  It's almost like the item set to the group is bigger but isn't.  Let me know if you have any suggestions.

Thanks!

Re: Sizeable Listbar


05-23-2007, 11:01 AM
I had problems attaching the screen print so I am trying this again...It is a bitmap file but I think I need ot make the extension ext for it to upload....hopefully it attaches this time...

Re: Sizeable Listbar


05-23-2007, 11:03 AM
Zip file, will that work?

Re: Sizeable Listbar


05-23-2007, 11:26 AM
kgw222,
    Thank you for your reply. One approach I have found that works well is to set the ListBars FlatStyle to standard.

Please let me know if I can be of further assistance. Thank you!
    Eric