<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Recent Posts in 'Layout problems with FXSwitcher' | Pragmatic Forums</title>
    <link>http://forums.pragprog.com/forums/53/topics/215</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <description></description>
    <item>
      <title>Layout problems with FXSwitcher posted by Thomas Wieczorek @ Mon, 14 Jan 2008 17:06:59 -0000</title>
      <description>&lt;p&gt;Great, I just read about &lt;code&gt;recalc()&lt;/code&gt; on the FXRuby hompage. Great site! I&amp;#8217;ll try it.&lt;/p&gt;</description>
      <pubDate>Mon, 14 Jan 2008 17:06:59 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:53:215:2168</guid>
      <author>Thomas Wieczorek</author>
      <link>http://forums.pragprog.com/forums/53/topics/215</link>
    </item>
    <item>
      <title>Layout problems with FXSwitcher posted by Lyle Johnson @ Mon, 14 Jan 2008 15:32:15 -0000</title>
      <description>&lt;p&gt;The next update of the beta book should include the chapter on &amp;#8220;Managing Layouts&amp;#8221;, which has a discussion of &lt;span class="caps"&gt;FOX&lt;/span&gt;&amp;#8217;s deferred layout mechanism. I think what your code might need is an additional call to the switcher&amp;#8217;s recalc() method after you import the additional photos or maximize the window.&lt;/p&gt;</description>
      <pubDate>Mon, 14 Jan 2008 15:32:15 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:53:215:2167</guid>
      <author>Lyle Johnson</author>
      <link>http://forums.pragprog.com/forums/53/topics/215</link>
    </item>
    <item>
      <title>Layout problems with FXSwitcher posted by Thomas Wieczorek @ Sun, 13 Jan 2008 06:57:45 -0000</title>
      <description>&lt;p&gt;I finished chapter 5.4 and I run into a strange problem which I cannot fathom out on my own.&lt;br /&gt;My code looks more or less like &lt;a href="http://media.pragprog.com/titles/fxruby/code/picturebook_h/picturebook.rb"&gt;the sample code for 5.4&lt;/a&gt; and I run into a problem with it(I also replaced my code with the online version, but it is the same).&lt;br /&gt;My first album, created in  &lt;code&gt;PictureBook#initialize()&lt;/code&gt; is in the AlbumListView. I import some photos and they are arranged according to the window width. I add a new album, click on it and import some photos there. But the picture are &lt;strong&gt;not&lt;/strong&gt; arranged, there&amp;#8217;s just one column with the pictures. If I click on my first album and then again on the new one, &lt;code&gt;AlbumView.layout&lt;/code&gt; probably kicks in and the pictures are arranged as they should.&lt;br /&gt;I have the same problem when I am in an album and maximize it. The photos are not rearranged until I click on a different album and then back to the old one.&lt;/p&gt;


	&lt;p&gt;Did someone experience the same behaviour?&lt;/p&gt;


	&lt;p&gt;Regards, Thomas&lt;/p&gt;</description>
      <pubDate>Sun, 13 Jan 2008 06:57:45 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:53:215:2163</guid>
      <author>Thomas Wieczorek</author>
      <link>http://forums.pragprog.com/forums/53/topics/215</link>
    </item>
  </channel>
</rss>
