Adding wordwrap property to Tbutton in Linux lazarus / 31-LCL ---------------------------------------------------------------------- Roosters · 2012-07-17 08:55 I'm converting a windows program to Linux and MUST have a button capable of displaying text on multiple lines, in Windows I managed this by using "BS_MULTILINE", is there a way to do this in Linux ? I'm currently using GTK2, never programmed for Linux with Lazarus so am unfamiliar with the way's things are done (eg api). ---------------------------------------------------------------------- tk · 2014-06-15 21:31 Just found this thread without answer, is the WordWrap property about to be implemented later for buttons? I would need it for TBitBtn. (If not I'll consider to implement my own TBitBtn. I shortly looked into LCL source and it is not a customdrawn control at LCL level, at least not easy to override. Much easier to me now to make my custom control. It might be later part of KControls.) tk ---------------------------------------------------------------------- zeljko · 2014-06-16 07:32 Quote from: tk on June 15, 2014, 11:31:25 pmJust found this thread without answer, is the WordWrap property about to be implemented later for buttons? No, buttons (TButton and TBitBtn) are widgetset part.Most of ws does not support multiline (maybe win32 only). If you need it badly, better implement your own control. zeljko ---------------------------------------------------------------------- tk · 2015-07-28 20:33 Just a quick reply: WordWrap is already available in KBitBtn from KControls. ---------------------------------------------------------------------- zbyna · 2015-09-02 17:33 Thanks, appreciate your work. ---------------------------------------------------------------------- lagprogramming · 2015-09-02 18:05 Code: [Select]TButton.Caption:='1'+system.LineEnding+'2';Shows two lines in GTK2. What are you precisely talking about, can you reformulate? Edit: Ooo....I see...wordwrap property.