Recent

Author Topic: Button painted 3-4 pix lower than set at runtime  (Read 1548 times)

Alextp

  • Hero Member
  • *****
  • Posts: 902
    • UVviewsoft
Button painted 3-4 pix lower than set at runtime
« on: November 10, 2018, 09:20:05 am »
macOS El Captain.
Cocoa app. I dont have a demo but I can see it in CudaText:
in CudaText I enter console line which makes dialog with Memo+Button.

Memo coords: 10,10-100,30
Button coords: 110,10-200,30

but Button is painted 3-5 pixels lower than memo.
I also see this effect in CudaText dialogs: some buttons painted lower.
« Last Edit: November 10, 2018, 09:21:45 am by Alextp »