<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RBCoder &#187; Interface</title>
	<atom:link href="http://rbcoder.de/category/interface/feed/" rel="self" type="application/rss+xml" />
	<link>http://rbcoder.de</link>
	<description>News, Tipps &#38; Tricks zu REALbasic</description>
	<lastBuildDate>Tue, 09 Feb 2010 19:18:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>PushButtons unter Linux</title>
		<link>http://rbcoder.de/interface/pushbuttons-unter-linux/</link>
		<comments>http://rbcoder.de/interface/pushbuttons-unter-linux/#comments</comments>
		<pubDate>Sat, 30 May 2009 22:59:48 +0000</pubDate>
		<dc:creator>Michael Kagerbauer</dc:creator>
				<category><![CDATA[Interface]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pushbutton]]></category>

		<guid isPermaLink="false">http://rbcoder.de/?p=39</guid>
		<description><![CDATA[Wer seine Programme auch für Linux erstellt, kennt das Problem: PushButtons unter GTK sind nicht nur größer, auch der verwendete Font wird nicht komplett dargestellt. Als Workaround kann man nun beispielsweise auf BevelButtons ausweichen, diese Lösung ist allerdings nicht sehr elegant. Viel besser ist da der Tipp von Thom McGrath, eine eigene Button-Klasse mit Conditional-Code [...]]]></description>
			<content:encoded><![CDATA[<p>Wer seine Programme auch für Linux erstellt, kennt das Problem: PushButtons unter GTK sind nicht nur größer, auch der verwendete Font wird nicht komplett dargestellt. Als Workaround kann man nun beispielsweise auf BevelButtons ausweichen, diese Lösung ist allerdings nicht sehr elegant. Viel besser ist da der <a href="http://www.thezaz.com/blog/tutorials/tip_fix_linux_button_sizes.php">Tipp</a> von Thom McGrath, eine eigene Button-Klasse mit Conditional-Code im PushButton.Open-Event zu erstellen:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="vbnet" style="font-family:monospace;">  #if TargetLinux
    <span style="color: #FF8000;">me</span>.<span style="color: #0000FF;">Height</span> <span style="color: #008000;">=</span> <span style="color: #FF8000;">me</span>.<span style="color: #0000FF;">Height</span> <span style="color: #008000;">+</span> <span style="color: #FF0000;">10</span>
    <span style="color: #FF8000;">me</span>.<span style="color: #0000FF;">Top</span> <span style="color: #008000;">=</span> <span style="color: #FF8000;">me</span>.<span style="color: #0000FF;">Top</span> <span style="color: #008000;">-</span> <span style="color: #FF0000;">5</span>
  #endif</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://rbcoder.de/interface/pushbuttons-unter-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
