View Issue Details

IDProjectCategoryView StatusLast Update
0036070LazarusLCLpublic2019-09-12 19:08
ReporterdonovalyAssigned To 
Status newResolutionopen 
Product Version2.0.4Product Build 
Target VersionFixed in Version 
Summary0036070: AutoSize property of TGroupBox does not work for TLabeledEdit
Description- create at GroupBox
- create a new TLabeledEdit inside the GroupBox
- now enable the GroupBox property AutoSize

result: the size of the GroupBox is too small and the label of the edit is above the GroupBox caption. So the problem is that the AutoSize does not take into account that the label needs space too.
TagsNo tags attached.
Fixed in Revision
Attached Files


Bart Broersma

2019-09-12 19:08

developer   ~0118053

TLabeled edit is a composite control.
It does not report it's height correctly (it simplye returns the heigt of the edit).
An approach like that of TEditButton would probably fix this.
Maybe TLabeledEdit can be rebased to inherit from TCustomAbstractGroupedEdit, but currently this only allows it "buddy" to be to the left or the right, not above or below.

Issue History

Date Modified Username Field Change
2019-09-12 18:38 donovaly New Issue
2019-09-12 19:08 Bart Broersma Note Added: 0118053