Skip to content

Commit

Permalink
Added BorderSpacing, Constraints properties to BCSVGViewer and BCSVGB…
Browse files Browse the repository at this point in the history
…utton
  • Loading branch information
lainz committed Jan 7, 2019
1 parent bb3d037 commit d29eea4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bcsvgbutton.pas
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ TBCSVGButton = class(TBCSVGViewer)
destructor Destroy; override;
procedure paint; override;
published
property BorderSpacing;
property Constraints;
Property FileNameDown : String Read FFileNameDown Write setFFileNameDown;
Property FileNameHover : String Read FFileNameHover Write setFFileNameHover;
Property FileNameNormal : String Read FFileNameNormal Write setFFileNameNormal;
Expand All @@ -112,7 +114,6 @@ TBCSVGButton = class(TBCSVGViewer)
property Position:integer read fposition write SetPosition;
property Maximum:integer read fmax write SetMax;
property OnPositionChange: TNotifyEvent read FOnPositionChange write FOnPositionChange;

end;

{$IFDEF FPC}procedure Register;{$ENDIF}
Expand Down
2 changes: 2 additions & 0 deletions bcsvgviewer.pas
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ TBCSVGViewer = class(TCustomBGRAGraphicControl)
property Anchors;
property OnRedraw;
property Bitmap;
property BorderSpacing;
property Constraints;
property SVG: TBGRASVG read FSVG;
property DestDPI: single read FDestDPI write SetFDestDPI {$IFDEF FPC}default 96{$ENDIF};
property x: single read Fx write SetFx {$IFDEF FPC}default 0{$ENDIF};
Expand Down

0 comments on commit d29eea4

Please sign in to comment.