About form border

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #38189
    Lasse
    Participant

    Is there a way to avoid that border around the form when the skin is activated? See the attachment. There is just a main menu component on the form.

    I see that DrawNonClientArea option is causing that border. But I don't want to set that to False.

    #59210
    Support
    Keymaster

    Hello

    It's possible if TsSkinManager.ExtendedBorders property is True

    Otherwise, used a width of borders which specified in the current Windows system.

    #59212
    Lasse
    Participant

    Well, I tried that also but it is not working with MetroUI skin (see attachment). Some other skins seem to work differently. That border does not look good with status bar… TsStatusBar is slightly better thou but still that border feels too wide. I choose another skin, no problem.

    #59213
    Support
    Keymaster

    Width of ExtBorders is specified in skins.

    The MetroUI skin is changed now, try it: http://www.alphaskins.com/sfiles/skins/metroui.asz

    #59215
    Lasse
    Participant

    Ok, good to know. Yes, that is perfect now.

    I think it is not a good idea to have that border width as a skin option. It is ok, when you only use one skin in your application. But if you let users to choose the skin then your application borders look different and it is quite a painful to fix those borders skin by skin in code.

    #59225
    Support
    Keymaster

    I can try to add a property where the border width may be specified, but thin border will look strange in some skins, where a bold border is provided.

    #59230
    Lasse
    Participant

    It might be so indeed. I will test some skins.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.