ATTabs little Q. caption innerspacing after text lazarus / 31-LCL ---------------------------------------------------------------------- d7_2_laz · 2021-03-05 18:01 Not an issue, minor cosmetics: actually i'm appending one or two spaces after the caption text for to have optically a bit more separation (spacing, padding) between (left:) caption text (full or truncated) and (right:) the tab right border resp. the close button,.if visible. I'm wondering if there is some equivalent analoguos to OptSpaceBeforeText ("OptSpaceAfterText") one can use? ---------------------------------------------------------------------- AlexTP · 2021-03-05 18:59 I dont remember. In such cases I search for OptSpace*** prop names and try to change em. ---------------------------------------------------------------------- d7_2_laz · 2021-03-05 19:41 Thre are a lot, i tried them and was wondering if i simply missed something special. - If you don't remember, don't care at all, it's too easy to bypass by appending space(s) to the text. ---------------------------------------------------------------------- AlexTP · 2021-03-07 09:31 It's easy to check: - add tabs in form designer - change props OptSpace* to 40 (big int) ---------------------------------------------------------------------- d7_2_laz · 2021-03-07 12:26 No sir, there are plenty of them (exactly 14 from OptSpace*) with plenty of functinality, but none does a generic padding after caption text, before either close button or right border appears. Actually i use those (from code, not designer): Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i // OptSpaceSide,OptSpaceBetweenTabs,OptSpaceBetweenLines OptSpaceBetweenIconCaption// OptSpaceInitial OptSpaceBeforeText OptSpaceBeforeTextForMinWidth OptSpaceSeparator// OptSpacer OptSpacer2 OptSpaceXRight OptSpaceXInner OptSpaceXSize OptSpaceXIncrementRound       OptSpaceSide:= 0;         OptSpaceBetweenTabs:= 1;        OptSpaceBeforeText := 6;        //OptSpaceAfterText := 6;   //  --- Such does not exist ---        OptSpaceBetweenIconCaption := 2;       OptVarWidth := True;  // I want to have variable tab with As told, not an issue or such (because one might imagine a variety of special cirumstances of course), but i simply did wonder. Small cosmetics to assure a bit to not close the tab unintendedly when clicking onto a small tab when using variable tab width. ---------------------------------------------------------------------- AlexTP · 2021-03-13 22:32 I just found this post again. Made the work! OptSpaceAfterText is added (tested when set it to 40, indent made big). Pls test. ---------------------------------------------------------------------- d7_2_laz · 2021-03-14 10:10 Does work wonderful; thank you Alextp! Benefit: make a tab more safe against unintended closure when using variable tab width and having a short caption. Instead of many words see the pictures before vs. after (here: using OptSpaceAfterText:=22). ---------------------------------------------------------------------- AlexTP · 2021-03-14 10:30 Great. Note: I can miss forum posts so - duplicate them on ATFlatControls Github 'issues', pls.