sPageControl problems

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34506
    emailaya
    Participant

    Hi

    When setting sTabSheet.UseClosebtn to FALSE, the X disappears but the width remains as if it's still there, is it possible to make the tab narrower?

    When setting ActiveIsBold to TRUE and the tab caption is long, for example: “Windows address book” the caption contains … though it should just change the width accordingly (the TabWidth is set to 0)

    Even the word “Home” with the X is enough to make Ho… (with … instead of the whole word)

    It seems that sometimes the X is red and sometimes a simple black, not sure when it suppose to be red and when black, it's inconsistent

    in sPagecontrol.pas, line: 754

    I got AV, you should put this instead or maybe another way to solve this

    if (ActivePage <> nil) and (ActivePage.SkinData <> nil) and (ActivePage.SkinData.SkinSection <> '') then begin

    thanks

    #45556
    Support
    Keymaster

    Hi

    'emailaya' wrote:
    When setting sTabSheet.UseClosebtn to FALSE, the X disappears but the width remains as if it's still there, is it possible to make the tab narrower?

    When setting ActiveIsBold to TRUE and the tab caption is long, for example: “Windows address book” the caption contains … though it should just change the width accordingly (the TabWidth is set to 0)

    Even the word “Home” with the X is enough to make Ho… (with … instead of the whole word)

    Width of a custom tab can't be changed as you want, unfortunately. This is limitation which can't be avoided.

    For adding additional width was used the TCM_SETPADDING message, which may be used in all tabs only.

    Quote:
    It seems that sometimes the X is red and sometimes a simple black, not sure when it suppose to be red and when black, it's inconsistent

    This small close button is taken from current skin.

    #45560
    emailaya
    Participant
    'Support' wrote:

    Hi

    Width of a custom tab can't be changed as you want, unfortunately. This is limitation which can't be avoided.

    For adding additional width was used the TCM_SETPADDING message, which may be used in all tabs only.

    This small close button is taken from current skin.

    so you say that the width problems cannot be solved?

    neither the width when three is no X and also when the caption is bold?

    it means that it is unusable, it looks very bad when bold captions are cut off even for short captions like “home”

    #45667
    Support
    Keymaster

    Hi

    In the version 7.42 will be added new TabPadding property. I think, it helps.

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