adjust spacing of Border icons?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36720
    JohnG
    Participant

    I'm revising some of my apps so they'll fit on a 7″ Win10 tablet (being run in desktop mode). The tablet's native resolution is 1024 x 600. Win10 strongly recommends adjusting the resolution to 1280 x 768, otherwise some apps wont run. Whichever resolution you use, that's a lot of screen real estate squeezed into a very small space — everything is tiny.

    The particular problem I have at the moment has to do with the Border Icons: the small size is manageable, but the spacing isn't. Trying to use a stylus on any of the icons is a bit like a bull in a china shop.

    Is there any way in the current skinning system to adjust the spacing of the Border icons? Or any way that can be implemented? On the Win10 tablet, I noticed Windows Explorer shows this wider spacing of the icons. When skinning is disabled, my app also shows the icons with wider spacing. (I'm aware of the TitleBar component, but that's more customization than I want to do.)

    Thanks,

    John

    #54322
    JohnG
    Participant

    Well, I broke down and used an sTitleBar component, using _wide_ images to create the spacing for each item.

    Thinking about the appearance of different skins, I imagine there's a way to define icon spacing using the Skin Editor. Someday, I'll take a look. I've been spoiled so far, by the ease of using the AC components as they come, straight out of the box.

    John

    #54332
    Support
    Keymaster

    This space may be changed in the SkinEditor, look attached image.

    Also, you can change it in run-time, after loading of the current skin:

    Code:
    procedure TForm1.sSkinManager1AfterChange(Sender: TObject);
    begin
    sSkinManager1.CommonSkinData.BISpacing := 24;
    sSkinManager1.RepaintForms;
    end;
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.