Well, cross-platform toolkits could work if they don&#39;t provide widgets as first class objects :-) So never allow specifying the GUI widgets and layout directly, only indirectly.<div><div><div><br></div><div>So you basically provide just the model and some hints/constraints and let the GUI toolkit automatically generate native look&amp;feel widgets to present and edit the model. This means the GUI toolkit needs to understand and implement the guidelines on each platform (how many GUI developers actually follow these guidelines 100%?)</div>
<div><br></div><div>If you provide constraints that are conflicting between GUI platforms, you have to either relax the constraints or provide different widgets for each platform.</div><div><br></div><div>All nice theoretically, but not done yet?</div>
<div><br></div><div><div><div class="gmail_quote">On Fri, May 1, 2009 at 5:55 PM, Thomas Davie <span dir="ltr">&lt;<a href="mailto:tom.davie@gmail.com">tom.davie@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
This is one of many reasons why I don&#39;t believe any of these cross-platform toolkits will ever be good enough to make truly native-like UIs – The bottom line is that tab views are different between Mac OS and other OSes, they have much more padding round them on Mac OS.  This means that any layout you create involving them will never work on both platforms.<br>

<br>
Bob<div><div></div><div class="h5"><br>
<br>
On 1 May 2009, at 17:25, Heinrich Apfelmus wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Peter Verswyvelen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I thought wxWidgets was actually one of the only toolkits that actually<br>
*used* the native GUI libraries???<br>
See e.g. <a href="http://wiki.wxwidgets.org/WxWidgets_Compared_To_Other_Toolkits" target="_blank">http://wiki.wxwidgets.org/WxWidgets_Compared_To_Other_Toolkits</a><br>
<br>
So I don&#39;t understand how come the look and feel is different then...<br>
</blockquote>
<br>
Using native GUI libraries is necessary, but not sufficient for<br>
achieving the same look and feel. :)<br>
<br>
Other elements are layout and spacing,<br>
<br>
 <a href="http://developer.apple.decenturl.com/human-interface-guidelines-" target="_blank">http://developer.apple.decenturl.com/human-interface-guidelines-</a>layout<br>
 <a href="http://developer.apple.decenturl.com/hi-guidelines-windows" target="_blank">http://developer.apple.decenturl.com/hi-guidelines-windows</a><br>
<br>
drag &amp; drop,<br>
<br>
 <a href="http://developer.apple.decenturl.com/hi-guidelines-dragndrop" target="_blank">http://developer.apple.decenturl.com/hi-guidelines-dragndrop</a><br>
<br>
writing style and fonts<br>
<br>
 <a href="http://developer.apple.decenturl.com/human-interface-guidelines-text" target="_blank">http://developer.apple.decenturl.com/human-interface-guidelines-text</a><br>
<br>
etc, etc.<br>
<br>
<br>
Daniel Carrera wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thirdly, the textlogs have different fonts. Again, the wxHaskell one<br>
looks non-standard.<br>
<br>
</blockquote>
Honestly, I can&#39;t tell. They are both very similar, sans fonts. Also, the<br>
font could  be explained by the fact that these screen shots are taken on<br>
different computers (different OS versions, different settings).<br>
</blockquote>
<br>
There is a default set of fonts<br>
<br>
 <a href="http://developer.apple.decenturl.com/human-interface-guidelines-text" target="_blank">http://developer.apple.decenturl.com/human-interface-guidelines-text</a><br>
<br>
The &quot;mini system font&quot; is the typography of choice for text boxes, but<br>
it looks the &quot;application font&quot; is acceptable as well.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In any case, I think these differences are minor.<br>
</blockquote>
<br>
I don&#39;t. :)<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
More importantly, I&#39;m not sure that a different cross-platform<br>
toolkit would do a better job.<br>
</blockquote>
<br>
True, that. It&#39;s just that this doesn&#39;t mean that wxWidgets does a very<br>
good job.<br>
<br>
<br>
Regards,<br>
apfelmus<br>
<br>
--<br>
<a href="http://apfelmus.nfshost.com" target="_blank">http://apfelmus.nfshost.com</a><br>
<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
</blockquote>
<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
</div></div></blockquote></div><br></div></div></div></div>