Recent

Author Topic: SetWideStrProp Question - No Clue Here  (Read 2306 times)

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: SetWideStrProp Question - No Clue Here
« Reply #15 on: November 02, 2020, 09:50:51 am »
Are there any UI components that look the same on Win/Unix/Mac.
Only custom drawn components.
With a few exceptions the LCL goes for native-widget-based controls. These, as you are well aware, have subtle and sometimes obvious differences in style, default font, default size, customisability and usability. The LCL does its very best to minimise these cross platform differences, but in the nature of platform diversity there is a limit to what can be done to make a Mac control look and behave exactly like its Windows or Linux counterpart.
Which control(s) are causing you trouble on different platforms, and what exactly is the difficulty?

JLWest

  • Hero Member
  • *****
  • Posts: 1293
Re: SetWideStrProp Question - No Clue Here
« Reply #16 on: November 02, 2020, 12:12:53 pm »
It's just a few things on the Ui I'm doing I don't think look right on a Unix system. I'll have to make a copy for you and you can run it up.

I think I have eveyrthing in code done for a Win/Unix box.

FPC 3.2.0, Lazarus IDE v2.0.4
 Windows 10 Pro 32-GB
 Intel i7 770K CPU 4.2GHz 32702MB Ram
GeForce GTX 1080 Graphics - 8 Gig
4.1 TB

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: SetWideStrProp Question - No Clue Here
« Reply #17 on: November 02, 2020, 03:10:41 pm »
Are there any UI components that look the same on Win/Unix/Mac.
Only custom drawn components.

There is also the fpgui widgetset, a ready-made set of custom-drawn (IIRC) components and controls which should look almost the same on all supported platforms.

But note that users usually don't like having an application look different than others in the same OS so it's almost always best to use the OS-specific widgetset: GTK or Qt for Linux, the native one for Windows, Cocoa for Macs, etc.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

 

TinyPortal © 2005-2018