You've already forked lazarus-ccr
tvplanit: Fix height of contact editor form being calculated too large.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4859 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -19,9 +19,9 @@ object ContactEditForm: TContactEditForm
|
||||
Height = 314
|
||||
Top = 0
|
||||
Width = 433
|
||||
ActivePage = tabMain
|
||||
ActivePage = tabContact
|
||||
Align = alClient
|
||||
TabIndex = 0
|
||||
TabIndex = 1
|
||||
TabOrder = 0
|
||||
OnChange = tsContactsChange
|
||||
object tabMain: TTabSheet
|
||||
@ -272,7 +272,7 @@ object ContactEditForm: TContactEditForm
|
||||
end
|
||||
object tabContact: TTabSheet
|
||||
Caption = 'RSContact'
|
||||
ClientHeight = 251
|
||||
ClientHeight = 286
|
||||
ClientWidth = 425
|
||||
ImageIndex = 1
|
||||
object EMailLbl: TLabel
|
||||
|
@ -490,11 +490,14 @@ begin
|
||||
inc(FieldTop, FieldVertSep);
|
||||
end;
|
||||
|
||||
ClientHeight := cboxCategory.Top + cboxCategory.Height + TopField +
|
||||
pnlBottom.Height + tsContacts.Height - tabMain.Height;
|
||||
{
|
||||
if FieldTop + FormHeightOffset > MinFormHeight then
|
||||
Height := FieldTop + FormHeightOffset
|
||||
else
|
||||
Height := MinFormHeight;
|
||||
|
||||
}
|
||||
EMailLbl.Left := EMailEdit.Left - GetLabelWidth(EMailLbl) - 8;
|
||||
|
||||
Custom1Edit.Left := CustomLbl4.Left + GetLabelWidth(CustomLbl4) + 8;
|
||||
|
Reference in New Issue
Block a user