Forum > Graphics

[SOLVED] TLabeledEdit.EditLabel.Layout not working

<< < (4/5) > >>

jipété:

--- Quote from: wp on December 06, 2023, 12:27:05 pm ---So, simply rebuild the IDE again as normal user
--- End quote ---
I can't...


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---$ ./startlazarus./startlazarus: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.34' not found (required by ./startlazarus) $ linuxinfo... Bibliothèque système '2.31.0'
Sorry...

See you tomorrow.

dsiders:

--- Quote from: dsiders on December 05, 2023, 10:03:40 pm ---Documentation can always be improved. Based on the changes submitted by Werner, topics will be updated... but they will not appear in fixes_3_0 either.

--- End quote ---

I posted an update to the Lazarus 4.0 documentation for:


* TBoundLabel
* TBoundLabel.Create
* TBoundLabel.FocusControl
* TBoundLabel.Alignment
* TBoundLabel.Layout
* TLabelPosition
* TCustomLabeledEdit
* TCustomLabeledEdit.DoPositionLabel
* TLabeledEdit
The topics can be previewed at:


* https://dsiders.gitlab.io/lazdocsnext/lcl/extctrls/tlabelposition.html
* https://dsiders.gitlab.io/lazdocsnext/lcl/extctrls/tboundlabel.html
* https://dsiders.gitlab.io/lazdocsnext/lcl/extctrls/tcustomlabelededit.html
Feedback welcomed.

wp:
Thanks, great.

Maybe one note in TCustomLabeledEdit:

"When EditLabel is placed above or below the Edit control and its caption is wider than the Edit, the text will be clipped at the Edit's left/right sides. Likewise, when the EditLabel is placed at the left or right of the Edit control, and is higher than the Edit it will be clipped at the top and bottom sides of the Edit."

And maybe also in TBoundLabel, where "Edit" should be replaced by "associated control".

dsiders:

--- Quote from: wp on December 07, 2023, 01:30:22 am ---Thanks, great.

Maybe one note in TCustomLabeledEdit:

"When EditLabel is placed above or below the Edit control and its caption is wider than the Edit, the text will be clipped at the Edit's left/right sides. Likewise, when the EditLabel is placed at the left or right of the Edit control, and is higher than the Edit it will be clipped at the top and bottom sides of the Edit."

And maybe also in TBoundLabel, where "Edit" should be replaced by "associated control".

--- End quote ---

Good suggestions. Thanks.

jipété:
Hello,

logged as root in a Virtual Machine running a new Debian bookworm 12.2 -->
fresh install of fpc-laz & -src 3.2.2 then Laz 2.2.6 ok
fast test ('hello world') ok
rebuild ide with your setup -->
  Nettoyer les codes sources de Lazarus: Code de sortie 2, Erreurs : 1
  make[2]: *** interfaces/carbon: No such file or directory.  Stop.
  make[1]: *** [Makefile:5176: cleanall] Error 2
  Error: make: *** [Makefile:3865: cleanlaz] Error 2
shit !  >:D

Revert creation's options to original then call menu/tools/Create Lazarus with Normal profile --> long time to compile all files then ide restarts nicely.
This crazy stuff drives me nuts.  :(
...
But, after ide restarted, I changed the 3 files from yesterday and used the menu/tools/Create Lazarus with Normal profile and after compile and ide restart, I try a new project with one TPanel hosting 3 TLabeledEdit, each one with a different value for layout and it works !!!!!!!
Yeah !
labelededit_OK.png
 :D
Thanks thanks thanks for that.
Merry Xmas and happy new year !
(and I can resize the source window as I want, nice !)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version