Autor Beitrag
sacharja
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 24



BeitragVerfasst: Sa 04.02.06 00:41 
Hallo,
wenn ich in Delphi eine Textbox erstelle und daneben ein Label setz ist das Label am oberen Rand neben der Textbox. Ich setze also die Höhe des Labels auf dieselbe wie die der Textbox und justiere den Text mittels Layout (tlCenter) mittig.
Das sieht in Delphi auch richtig aus, aber nachdem ich das Programm kompiliert habe ist das Label wieder am oberen Rand und nicht zentriert.

Gibt es da eien Workaround?
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Sa 04.02.06 01:35 
Hi
Du musst AutoSize auf false stellen. :wink:
sacharja Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 24



BeitragVerfasst: Sa 04.02.06 11:57 
Danke, das wars. :dance: