[Solved] Some BGRAControls missing BorderSpacing lazarus / 39-Graphics ---------------------------------------------------------------------- dsiders · 2019-01-07 13:45 I recently was working with TFlowPanel to handle automatic layout of controls. Using this component, you need to rely on the BorderSpacing property to fine-tune the appearance of controls on the layout panel. Unfortunately, there are a couple of BGRAControls that do not publish the BorderSpacing property: TBCSVGViewer and TBCSVGButton. Is this an over-sight, or by design? BTW, TFlowPanel doesn't publish BorderSpacing either. ---------------------------------------------------------------------- Josh · 2019-01-07 14:28 Hi If you open the file bcsvgbutton.pas and to the list of properties 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   property BorderSpacing;  property Constraints; Save the file, and rebuild the ide, on ide restart the properties should become visible. This will add the BorderSpacing and the Constraints Property. Hope that helps. ---------------------------------------------------------------------- dsiders · 2019-01-07 14:48 Quote from: josh on January 07, 2019, 03:28:11 pmHi If you open the file bcsvgbutton.pas and to the list of properties 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   property BorderSpacing;  property Constraints;  Save the file, and rebuild the ide, on ide restart the properties should become visible. This will add the BorderSpacing and the Constraints Property. Hope that helps. Yes, I had done that to my local copy. But I was hoping the change could (or would) be included in the original library too. ---------------------------------------------------------------------- ps · 2019-01-07 14:49 Quote from: dsiders on January 07, 2019, 02:45:59 pmBTW, TFlowPanel doesn't publish BorderSpacing either. It's fixed https://bugs.freepascal.org/view.php?id=34729 and available in RC3 ---------------------------------------------------------------------- dsiders · 2019-01-07 14:53 Quote from: ps on January 07, 2019, 03:49:32 pmQuote from: dsiders on January 07, 2019, 02:45:59 pmBTW, TFlowPanel doesn't publish BorderSpacing either. It's fixed https://bugs.freepascal.org/view.php?id=34729 and available in RC3 Good to know. Thank you. ---------------------------------------------------------------------- lainz · 2019-01-07 15:44 Done, I've added these properties in development branch of bgracontrols. ---------------------------------------------------------------------- dsiders · 2019-01-07 16:04 Quote from: lainz on January 07, 2019, 04:44:12 pmDone, I've added these properties in development branch of bgracontrols. Thank you very much.