Font.height not working on Mac version of program lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- vonskie · 2014-03-18 04:28 arial is the selected font. Is it the font what font works with font height? ---------------------------------------------------------------------- engkin · 2014-03-18 06:16 If in doubt, choose a font you know it works based on testing the text editor, for instance. Still I think it is better if you show some code you used and failed. ---------------------------------------------------------------------- vonskie · 2014-03-18 13:19 For example under windows this works statictext1.Font.Height:=32; Under Mac it does not work no error it just does not resize. Why? ---------------------------------------------------------------------- BigChimp · 2014-03-18 13:27 Have you checked the Restriction Browser (menu View/Restriction Browser) to see if this is a Carbon widgetset limitation? (Seems unlikely that this should be the case but perhaps it is a limitation) ---------------------------------------------------------------------- vonskie · 2014-03-18 13:54 Quote from: BigChimp on March 18, 2014, 02:27:34 pmHave you checked the Restriction Browser (menu View/Restriction Browser) to see if this is a Carbon widgetset limitation? (Seems unlikely that this should be the case but perhaps it is a limitation) I will check when I get home... Anyone else what to check it for me while I am at work, this is really bugging me as the program needs that functionality. ---------------------------------------------------------------------- howardpc · 2014-03-18 14:40 Quote from: vonskie on March 18, 2014, 02:19:28 pmstatictext1.Font.Height:=32; Under Mac it does not work no error it just does not resize. Does the corresponding Code: [Select]statictext1.Font.Size:= -24; also fail on Mac? ---------------------------------------------------------------------- vonskie · 2014-03-18 14:46 Quote from: howardpc on March 18, 2014, 03:40:10 pmQuote from: vonskie on March 18, 2014, 02:19:28 pmstatictext1.Font.Height:=32; Under Mac it does not work no error it just does not resize. Does the corresponding Code: [Select]statictext1.Font.Size:= -24; also fail on Mac? Not sure will have to try when I get home, anyone know? ---------------------------------------------------------------------- vonskie · 2014-03-19 03:31 Quote from: vonskie on March 18, 2014, 03:46:14 pmQuote from: howardpc on March 18, 2014, 03:40:10 pmQuote from: vonskie on March 18, 2014, 02:19:28 pmstatictext1.Font.Height:=32; Under Mac it does not work no error it just does not resize. Does the corresponding Code: [Select]statictext1.Font.Size:= -24; also fail on Mac? Not sure will have to try when I get home, anyone know? font.size worked just fine.