{"id":33,"date":"2007-08-02T14:41:28","date_gmt":"2007-08-02T22:41:28","guid":{"rendered":"http:\/\/www.antunkarlovac.com\/blog\/?p=33"},"modified":"2007-08-02T14:41:29","modified_gmt":"2007-08-02T22:41:29","slug":"openlaszlo-403-released-stretches-and-mini-me","status":"publish","type":"post","link":"https:\/\/www.antunkarlovac.com\/blog\/2007\/08\/02\/openlaszlo-403-released-stretches-and-mini-me\/","title":{"rendered":"OpenLaszlo 4.0.3 Released&#8230; stretches, and mini-me!"},"content":{"rendered":"<p>Last week, OpenLaszlo 4.0.3 was released (without much fanfair, since it&#8217;s a bugfix release). One little-noticed bug that I&#8217;m happy to see fixed is the stretches attribute.<\/p>\n<p>The stretches attribute lets you stretch a resource to fit the view it&#8217;s attached to. The thing is, that stretches was always supposed to adjust the view&#8217;s <em>entire coordinate space<\/em> relative to the size of the image.<\/p>\n<p>To see what I mean, play around with the larger window below:<br \/>\n\n<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"\n\t\t\tid=\"fm_minime_1970009481\"\n\t\t\tclass=\"flashmovie\"\n\t\t\twidth=\"450\"\n\t\t\theight=\"280\">\n\t<param name=\"movie\" value=\"\/blog\/wp-content\/uploads\/2007\/08\/minime.swf\" \/>\n\t<!--[if !IE]>-->\n\t<object\ttype=\"application\/x-shockwave-flash\"\n\t\t\tdata=\"\/blog\/wp-content\/uploads\/2007\/08\/minime.swf\"\n\t\t\tname=\"fm_minime_1970009481\"\n\t\t\twidth=\"450\"\n\t\t\theight=\"280\">\n\t<!--<![endif]-->\n\t\t\n\t<!--[if !IE]>-->\n\t<\/object>\n\t<!--<![endif]-->\n<\/object><\/p>\n<p>Notice how the contents of that window - the resource and the smaller window - all resize simultaneously. I'm not sure of the practical applications of this yet, but it makes for a nice effect.<\/p>\n<p>You can <a title=\"download the source for the application\" rel=\"attachment\" id=\"p34\" href=\"http:\/\/www.antunkarlovac.com\/blog\/?attachment_id=34\">download the source for the above application<\/a> if you like. Remember to compile in OpenLaszlo 4.0.3.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Last week, OpenLaszlo 4.0.3 was released (without much fanfair, since it&#8217;s a bugfix release). One little-noticed bug that I&#8217;m happy to see fixed is the stretches attribute. The stretches attribute lets you stretch a resource to fit the view it&#8217;s attached to. The thing is, that stretches was always supposed to adjust the view&#8217;s entire &hellip; <a href=\"https:\/\/www.antunkarlovac.com\/blog\/2007\/08\/02\/openlaszlo-403-released-stretches-and-mini-me\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">OpenLaszlo 4.0.3 Released&#8230; stretches, and mini-me!<\/span><\/a><!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,3],"tags":[],"_links":{"self":[{"href":"https:\/\/www.antunkarlovac.com\/blog\/wp-json\/wp\/v2\/posts\/33"}],"collection":[{"href":"https:\/\/www.antunkarlovac.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.antunkarlovac.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.antunkarlovac.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.antunkarlovac.com\/blog\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":0,"href":"https:\/\/www.antunkarlovac.com\/blog\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.antunkarlovac.com\/blog\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.antunkarlovac.com\/blog\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.antunkarlovac.com\/blog\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}