I cannot run the demos since Java now blocks everything that hasn't
submitted to the certificate mafia - apparently that was easier than Oracle
sandboxing their VM, but i took a look on the PDF. And sadly this isn't a
real solution.

This only solves issues like positioning, but doesn't solve issues like
having the File -> Exit menu item being hidden in Mac builds, the "Apple"
menu (where the Quit menu item should be in Mac) being hidden in Windows
and Linux builds, using Cmd as a shortcut prefix instead of Ctrl, using
different images for Windows, Linux and OS X (since all these three OSes
have different design styles - ok Linux and Windows can share theirs, but
OS X icons tends to be larger and usually the toolbars have less buttons),
etc.

In fact personally i'd be against such "quick fix" solutions because
they'll provide less incentive to do the right thing later.


On Thu, Feb 26, 2015 at 11:49 AM, Graeme Geldenhuys <
mailingli...@geldenhuys.co.uk> wrote:

> On 2015-02-25 14:05, Kostas Michalopoulos wrote:
> > Even if Lazarus sticks to desktop only stuff, Windows,
> > Linux and OS X (...especially OS X) have different conventions when it
> > comes to layout, icons, spacing, etc and at the moment the only solution
> is
> > either ignore them (and have your program look awful under OS X)
>
> There is an alternative solution. In the fpGUI project we have ongoing
> efforts to port/implement a Object Pascal version of the java MIG Layout
> Manager. One of MIG's many features is support for OS specific
> conventions like spacing, button order etc.
>
>   http://www.miglayout.com/
>
> If you can, run the Swing Demo to see what everything MIG can do. Part
> of the demo is the OS specific conventions.
>
>
> Regards,
>   - Graeme -
>
> --
> fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
> http://fpgui.sourceforge.net/
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to