<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-2681129917095624740.post6036388307247297494..comments</id><updated>2009-06-22T11:53:58.125+10:00</updated><title type='text'>Comments on Flex and the City: Vertical Scrollbars and 100% width content</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://flex.joshmcdonald.info/feeds/6036388307247297494/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2681129917095624740/6036388307247297494/comments/default'/><link rel='alternate' type='text/html' href='http://flex.joshmcdonald.info/2008/09/vertical-scrollbars-and-100-width.html'/><author><name>Josh McDonald</name><uri>http://www.blogger.com/profile/16442649328289782363</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2681129917095624740.post-7984375254695890038</id><published>2009-06-22T11:53:58.125+10:00</published><updated>2009-06-22T11:53:58.125+10:00</updated><title type='text'>That's a much better solution Geoff, cheers! I mig...</title><content type='html'>That&amp;#39;s a much better solution Geoff, cheers! I might switch to using that and see how it goes. I can&amp;#39;t see anything in Container that would stop it working in edge cases.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2681129917095624740/6036388307247297494/comments/default/7984375254695890038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2681129917095624740/6036388307247297494/comments/default/7984375254695890038'/><link rel='alternate' type='text/html' href='http://flex.joshmcdonald.info/2008/09/vertical-scrollbars-and-100-width.html?showComment=1245635638125#c7984375254695890038' title=''/><author><name>Josh McDonald</name><uri>http://www.blogger.com/profile/16442649328289782363</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07331733446040482597'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://flex.joshmcdonald.info/2008/09/vertical-scrollbars-and-100-width.html' ref='tag:blogger.com,1999:blog-2681129917095624740.post-6036388307247297494' source='http://www.blogger.com/feeds/2681129917095624740/posts/default/6036388307247297494' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-2681129917095624740.post-3757796746785533488</id><published>2009-06-22T11:41:13.473+10:00</published><updated>2009-06-22T11:41:13.473+10:00</updated><title type='text'>Here is a much easier way to correct this issue......</title><content type='html'>Here is a much easier way to correct this issue...&lt;br /&gt;&lt;br /&gt;[code]&lt;br /&gt;package&lt;br /&gt;{&lt;br /&gt; import mx.containers.Canvas;&lt;br /&gt; import mx.events.ResizeEvent;&lt;br /&gt;&lt;br /&gt; public class FixedCanvas extends Canvas&lt;br /&gt; {&lt;br /&gt;  public function FixedCanvas()&lt;br /&gt;  {&lt;br /&gt;   super();&lt;br /&gt;  } &lt;br /&gt;   &lt;br /&gt;  override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number): void {&lt;br /&gt;   if (verticalScrollBar ) unscaledWidth  -= verticalScrollBar  .measuredWidth;&lt;br /&gt;   if (horizontalScrollBar ) unscaledHeight -= horizontalScrollBar.measuredHeight;   &lt;br /&gt;   super.updateDisplayList(unscaledWidth, unscaledHeight);&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;[/code]&lt;br /&gt;&lt;br /&gt;This fixes the issue for both vertical and horizontal scrolling</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2681129917095624740/6036388307247297494/comments/default/3757796746785533488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2681129917095624740/6036388307247297494/comments/default/3757796746785533488'/><link rel='alternate' type='text/html' href='http://flex.joshmcdonald.info/2008/09/vertical-scrollbars-and-100-width.html?showComment=1245634873473#c3757796746785533488' title=''/><author><name>geoff</name><uri>http://www.blogger.com/profile/02013126783948496693</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://flex.joshmcdonald.info/2008/09/vertical-scrollbars-and-100-width.html' ref='tag:blogger.com,1999:blog-2681129917095624740.post-6036388307247297494' source='http://www.blogger.com/feeds/2681129917095624740/posts/default/6036388307247297494' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-2681129917095624740.post-2443741715896838784</id><published>2009-05-01T05:48:00.000+10:00</published><updated>2009-05-01T05:48:00.000+10:00</updated><title type='text'>Apr 30 2009

Hi...

Fyi the link in this seciton o...</title><content type='html'>Apr 30 2009&lt;br /&gt;&lt;br /&gt;Hi...&lt;br /&gt;&lt;br /&gt;Fyi the link in this seciton of your blog is stale:&lt;br /&gt;&lt;br /&gt;" Here's the other half of the magic. When we determine that Flex's built in layout code has decided to add a vertical scrollbar, we make sure to schedule another call to our updateDisplayList() so we can shrink the content down to get out of the way.&lt;br /&gt;&lt;br /&gt;Besides the Google Code repo, source for this class can be viewed here."&lt;br /&gt;&lt;br /&gt;Cheers GHudd</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2681129917095624740/6036388307247297494/comments/default/2443741715896838784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2681129917095624740/6036388307247297494/comments/default/2443741715896838784'/><link rel='alternate' type='text/html' href='http://flex.joshmcdonald.info/2008/09/vertical-scrollbars-and-100-width.html?showComment=1241120880000#c2443741715896838784' title=''/><author><name>Hintington Beach Greg</name><uri>http://www.blogger.com/profile/02866516863519353360</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://flex.joshmcdonald.info/2008/09/vertical-scrollbars-and-100-width.html' ref='tag:blogger.com,1999:blog-2681129917095624740.post-6036388307247297494' source='http://www.blogger.com/feeds/2681129917095624740/posts/default/6036388307247297494' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-2681129917095624740.post-5652331318132731174</id><published>2009-04-23T15:35:00.000+10:00</published><updated>2009-04-23T15:35:00.000+10:00</updated><title type='text'>It's pretty simple, just put another container in ...</title><content type='html'>It's pretty simple, just put another container in it (like a VBox for example), with a percentage width, or left and right widths. When the box becomes too tall to fit, a scrollbar will appear and the box will become slightly narrower to accomodate it.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2681129917095624740/6036388307247297494/comments/default/5652331318132731174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2681129917095624740/6036388307247297494/comments/default/5652331318132731174'/><link rel='alternate' type='text/html' href='http://flex.joshmcdonald.info/2008/09/vertical-scrollbars-and-100-width.html?showComment=1240464900000#c5652331318132731174' title=''/><author><name>Josh McDonald</name><uri>http://www.blogger.com/profile/16442649328289782363</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07331733446040482597'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://flex.joshmcdonald.info/2008/09/vertical-scrollbars-and-100-width.html' ref='tag:blogger.com,1999:blog-2681129917095624740.post-6036388307247297494' source='http://www.blogger.com/feeds/2681129917095624740/posts/default/6036388307247297494' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-2681129917095624740.post-7354928906909217592</id><published>2009-04-22T15:12:00.000+10:00</published><updated>2009-04-22T15:12:00.000+10:00</updated><title type='text'>Could you give an example with usage of your class...</title><content type='html'>Could you give an example with usage of your class?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2681129917095624740/6036388307247297494/comments/default/7354928906909217592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2681129917095624740/6036388307247297494/comments/default/7354928906909217592'/><link rel='alternate' type='text/html' href='http://flex.joshmcdonald.info/2008/09/vertical-scrollbars-and-100-width.html?showComment=1240377120000#c7354928906909217592' title=''/><author><name>Влад</name><uri>http://www.blogger.com/profile/10239491947159890806</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://flex.joshmcdonald.info/2008/09/vertical-scrollbars-and-100-width.html' ref='tag:blogger.com,1999:blog-2681129917095624740.post-6036388307247297494' source='http://www.blogger.com/feeds/2681129917095624740/posts/default/6036388307247297494' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-2681129917095624740.post-6200949605128091678</id><published>2008-09-23T01:56:00.000+10:00</published><updated>2008-09-23T01:56:00.000+10:00</updated><title type='text'>Thanks, Josh ;-)</title><content type='html'>Thanks, Josh ;-)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2681129917095624740/6036388307247297494/comments/default/6200949605128091678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2681129917095624740/6036388307247297494/comments/default/6200949605128091678'/><link rel='alternate' type='text/html' href='http://flex.joshmcdonald.info/2008/09/vertical-scrollbars-and-100-width.html?showComment=1222098960000#c6200949605128091678' title=''/><author><name>Amy B</name><uri>http://www.blogger.com/profile/10902594300072091444</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://flex.joshmcdonald.info/2008/09/vertical-scrollbars-and-100-width.html' ref='tag:blogger.com,1999:blog-2681129917095624740.post-6036388307247297494' source='http://www.blogger.com/feeds/2681129917095624740/posts/default/6036388307247297494' type='text/html'/></entry></feed>