I think i have found a bug in label alignment lazarus / 21-General ---------------------------------------------------------------------- calebs · 2021-03-28 14:49 I'll try to describe the best i could the problem i've found i have a  couple pagecontrols with some tabs on it. Inside i have many labels, some of them have default alignment (left) and others are right aligned. The ones with right align are in different tabs on different pagecontrols in design i focus one of those tabs and check alignment property of those labels on ide show right alignment. If i execute the program and in runtime and in that tab and the labels are correctly right aligned, but then change to the other tab and the labels are left aligned. stop execution, in design go to that last tabsheet and check the property of that labels and they show right aligned. If i execute the application again, with that tab focused in design, the labels in this tab are right aligned, but then switch to the first one and all apear left aligned again. Stopped the program, go and check the first tab i mentioned and the align property still shows right aligned. And the process repeats in the same manner I don't know if the problem was that i copy and paste the labels along some tbitbutons from one tab to another. I think its not the problem because i deleted one of the labels and inserted manually, changed the align property and the behaviour still is present. I think is a bug, don't know how to officially report it. I hope i was clear with explanation. thanks ---------------------------------------------------------------------- calebs · 2021-03-28 14:50 Sorry using lazarus 2.0.12 64642 x64 fpc 3.2.0 on windows 10 x 64 ---------------------------------------------------------------------- speter · 2021-03-28 23:58 G'Day calebs, A picture is worth a thousand words. Including the code is worth a thousand pictures!! I've created a minimal project with 2 pagecontrols (and a splitter); each pagecontrol has 3 tabs; each tab has 5 labels (the tabs are left, centre & right aligned respectively). I was unable to reproduce any strangeness either with the application running (in windows) or in the IDE @ designtime. Does my little project encapsulate your situation? cheers S. ---------------------------------------------------------------------- calebs · 2021-04-02 15:19 Thanks speter, your example works as expected but now i have the same problem in another program that is not related (at least not in the main unit) with the previous. I don't know if its my lazarus instalation or some difference betwen lazarus versions and projects created with previous version, i'll try soon that. Btw, i share two captures of the problem (you were right, image worth a hundred words). Btw again, there is no code that alter the tab in runtime (alignment, position, etc) only the content with some code like label23.caption = 'something'; Thanks