[SOLVED] Unable to add empty lines in label control lazarus / 32-Linux ---------------------------------------------------------------------- artem101 · 2023-05-23 09:15 Hello! I discovered that it's impossible to add empty lines in Label control in Linux. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   Label1.Caption:='one'+LineEnding                 +'two'+LineEnding+LineEnding                 +'three'+LineEnding+LineEnding+LineEnding                 +'four';   Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   object Label1: TLabel    Left = 0    Height = 240    Top = 0    Width = 320  Align = alClient    AutoSize = False    Font.Height = 13    ParentColor = False    ParentFont = False  end Tested in Linux Mint 21.1 XFCE and 20.3 MATE. Lazarus version is 2.2.4. For comparision in Windows it works as expected. Any ideas? Thanks. ---------------------------------------------------------------------- wp · 2023-05-23 09:37 In Manjaro Linux it works with qt5 widgetset, but I can confirm the issue when I switch to gtk2. As a workaround you could add a space: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TForm1.FormCreate(Sender: TObject);begin  Label1.Caption:='one'+LineEnding                 +'two'+LineEnding+' ' +LineEnding                 +'three'+LineEnding+' ' +LineEnding+' ' +LineEnding                 +'four';end; ---------------------------------------------------------------------- artem101 · 2023-05-23 10:33 Quote from: wp on May 23, 2023, 11:37:26 amAs a workaround you could add a space Thanks for idea! It works.