Forum > Linux

Form autosize problem in Linux

<< < (2/2)

artem101:

--- Quote from: wp on March 08, 2023, 07:18:15 pm ---Then returned to Windows and saw another issue here..

--- End quote ---

This is not what I interested in. I make another more real demo. It has no problem in Windows, in Linus problem still the same

zeljko:
This works perfect under linux, but with qt,qt5 or qt6 ws.

artem101:

--- Quote from: zeljko on March 12, 2023, 10:15:33 am ---This works perfect under linux, but with qt,qt5 or qt6 ws.

--- End quote ---
But what about GTK?

balazsszekely:
@artem101
Try this:

--- 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";}};} ---procedure TForm1.CheckBox1Change(Sender: TObject);begin  CheckGroup2.Visible:=CheckBox1.Checked;  {$ifdef LCLGTK2}  Self.AutoSize := False;  Self.AutoSize := True;  {$endif}end;    

Navigation

[0] Message Index

[*] Previous page

Go to full version