-
17 Aug 2010 6:56 PM #1
[FIXED-234] Pack justify get broken between 0.91 an 0.93
[FIXED-234] Pack justify get broken between 0.91 an 0.93
Sencha Touch version tested:
- 0.93
- only default ext-all.css
Platform tested against:- iOS 3.x
Description:- The justify method doesn't work anymore on button.
Test Case:
Steps to reproduce the problem:Code:Ext.setup({ tabletStartupScreen: 'tablet_startup.png', phoneStartupScreen: 'phone_startup.png', icon: 'icon.png', glossOnIcon: false, onReady: function() { var tpl = Ext.XTemplate.from('weather'); var makeAjaxRequest = function() { Ext.Ajax.request({ url: 'test.json', success: function(response, opts) { Ext.getCmp('content').update(response.responseText); Ext.getCmp('status').setTitle('Static test.json file loaded'); } }) }; var makeJSONPRequest = function() { Ext.util.JSONP.request({ url: 'http://www.worldweatheronline.com/feed/weather.ashx', callbackKey: 'callback', params: { key: '23f6a0ab24185952101705', // palo alto q: '94301', format: 'json', num_of_days: 5 }, callback: function(result) { var weather = result.data.weather; if (weather) { var html = tpl.applyTemplate(weather); Ext.getCmp('content').update(html); } else { alert('There was an error retrieving the weather.'); } Ext.getCmp('status').setTitle('Palo Alto, CA Weather'); } }) }; new Ext.Panel({ fullscreen: true, id: 'content', scroll: 'vertical', dockedItems: [{ xtype: 'toolbar', layout: { pack: 'justify', }, dock: 'top', items: [{ text: 'JSONP', handler: makeJSONPRequest },{ text: 'BLABLALLA', handler: makeAjaxRequest },{ text: 'JSONP', handler: makeJSONPRequest }] },{ id: 'status', xtype: 'toolbar', dock: 'bottom', title: "Tap a button above." }] }) } });
using
The result that was expected:Code:layout: { pack: 'justify', },- every element should be justify
The result that occurs instead:- item are align right.
Screenshot or Video:- none
Debugging already done:- none
Possible fix:- not provided
Thank to everybody... sorry I could get where I misunderstood or where the bug was...
-
18 Aug 2010 8:04 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
Thank you for the report.
-
25 Aug 2010 5:27 AM #3
Hi !
So was it a mistake or a bug ?
Is there any workaround available in the wild ?
Thank you,
-
1 Sep 2010 7:11 PM #4Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Haarlem, Netherlands
- Posts
- 1,235
- Vote Rating
- 4
This has been fixed as part of the layout refactor and will be part of tomorrow's 0.94 release.
-
2 Sep 2010 9:58 AM #5
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
Pack ExtJS in a .jar
By pulporitmo in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 9 Oct 2009, 7:02 AM -
[OPEN] [FIXED-234][svn r5315] Lots of problems with components that have itemId set
By stever in forum Ext 3.x: BugsReplies: 2Last Post: 10 Sep 2009, 5:21 PM -
Justify PagingToolbar?
By NotChris in forum Ext 2.x: Help & DiscussionReplies: 6Last Post: 17 Mar 2008, 8:32 AM -
initDocReady (SVN changeset 234)
By stever in forum Ext 1.x: BugsReplies: 13Last Post: 14 Jun 2007, 10:30 PM


Reply With Quote

