You've already forked lazarus-ccr
tvplanit: Fix column widths in import preview grid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8400 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -6,6 +6,7 @@ object VpImportPreviewForm: TVpImportPreviewForm
|
||||
Caption = 'VpImportPreviewForm'
|
||||
ClientHeight = 295
|
||||
ClientWidth = 634
|
||||
LCLVersion = '2.3.0.0'
|
||||
object ButtonPanel: TPanel
|
||||
Left = 6
|
||||
Height = 25
|
||||
|
@ -130,29 +130,30 @@ begin
|
||||
with FGrid do
|
||||
begin
|
||||
Align := alClient;
|
||||
AutoFillColumns := true;
|
||||
Parent := self;
|
||||
Columns.Clear;
|
||||
with Columns.Add do
|
||||
begin
|
||||
Alignment := taCenter;
|
||||
ButtonStyle := cbsCheckboxColumn;
|
||||
SizePriority := 0;
|
||||
Title.Caption := '';
|
||||
Width := 10; //33;
|
||||
SizePriority := 0;
|
||||
Width := 33;
|
||||
end;
|
||||
with Columns.Add do
|
||||
begin
|
||||
ReadOnly := true;
|
||||
SizePriority := 2;
|
||||
SizePriority := 1;
|
||||
Title.Caption := '';
|
||||
end;
|
||||
with Columns.Add do
|
||||
begin
|
||||
ButtonStyle := cbsPickList;
|
||||
SizePriority := 0;
|
||||
Title.Caption := '';
|
||||
SizePriority := 0;
|
||||
Width := 160;
|
||||
end;
|
||||
AutoFillColumns := true;
|
||||
ExtendedSelect := false;
|
||||
FixedCols := 0;
|
||||
Options := [goEditing, goRowSelect, goThumbTracking,
|
||||
@ -162,7 +163,7 @@ begin
|
||||
OnGetCheckboxState := @GridGetCheckboxState;
|
||||
OnPrepareCanvas := @GridPrepareCanvas;
|
||||
OnSetCheckboxState := @GridSetCheckboxState;
|
||||
Parent := self;
|
||||
//Parent := self;
|
||||
end;
|
||||
|
||||
FItems := TFPList.Create;
|
||||
|
Reference in New Issue
Block a user