Recent

Author Topic: Static text and sbssunken on Mac is not sunken?  (Read 3800 times)

vonskie

  • Full Member
  • ***
  • Posts: 186
Static text and sbssunken on Mac is not sunken?
« on: March 31, 2014, 12:20:27 am »
How can I fix, works fine on pc.


skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Static text and sbssunken on Mac is not sunken?
« Reply #1 on: March 31, 2014, 01:38:26 am »
Replace it with TPanel

Could you please show the expected result? (a screen shot from any other OSX native application with "sunken" style).

vonskie

  • Full Member
  • ***
  • Posts: 186
Re: Static text and sbssunken on Mac is not sunken?
« Reply #2 on: March 31, 2014, 03:03:37 am »
Text window at top each line of text should be sunken

Mac version

vonskie

  • Full Member
  • ***
  • Posts: 186
Re: Static text and sbssunken on Mac is not sunken?
« Reply #3 on: March 31, 2014, 03:18:46 am »
PC screen shot

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Static text and sbssunken on Mac is not sunken?
« Reply #4 on: March 31, 2014, 03:35:30 am »
For exact same results I'd recommend to draw the rectangle manually.

Stylish drawing is system dependent (thus not having "sunken" implemented is somehow expected). Some border styles on mac are drawn rounded (to match the native look of the system).




« Last Edit: March 31, 2014, 03:44:43 am by skalogryz »

vonskie

  • Full Member
  • ***
  • Posts: 186
Re: Static text and sbssunken on Mac is not sunken?
« Reply #5 on: March 31, 2014, 06:11:31 pm »
Thanks for the info

 

TinyPortal © 2005-2018