TitleBar button arrow

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37593
    Lasse
    Participant

    There used to be an arrow in the title bar button (Style = bsButton) indicating a drop down list. Is it removed? Button width is still the same but the arrow is not painted.

    See attachment.

    I see there is a change in sSkinProvider.pas:

    5972: if (Item.Style in [bsMenu, bsButton]) and (Item.DropDownMenu <> nil) then begin

    5973: ArrowSize := acArrowSize * integer(Item.Style = bsMenu) * 2;

    That is causing the arrow to disappear. If I comment out “integer(Item.Style = bsMenu)”, it will work. But is there a reason why this is done?

    #57059
    Support
    Keymaster

    Hello.

    Yes, you are right, this is the error and this code should be removed.

    Thank you for the message.

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