#15400 closed defect (fixed)
styling of dojo mobile "back" buttons too angular
Reported by: | Chris Mitchell | Owned by: | cjolif |
---|---|---|---|
Priority: | undecided | Milestone: | 1.8 |
Component: | DojoX Mobile | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
the back button styling is too angular on all themes and needs to have more rounded look. where the left side of the point meets the rectangular right-part. Several developers have complained about this (as well as how in some cases the left point part gets styled out of sync from the rectangle--separate ticket).
Attachments (11)
Change History (22)
Changed 10 years ago by
Attachment: | back_button.patch added |
---|
Changed 10 years ago by
Attachment: | before.png added |
---|
Changed 10 years ago by
comment:1 Changed 10 years ago by
Changed 10 years ago by
Attachment: | back_button_iphone_adrian_15400.patch added |
---|
Adrian Vasiliu, IBM, CCLA
Changed 10 years ago by
Attachment: | iPhoneNativeVSdojoxMobileBeforePatches.png added |
---|
Changed 10 years ago by
Attachment: | nicVsAdrianPatches.png added |
---|
comment:2 Changed 10 years ago by
Attached an alternate patch for dojox/mobile/themes/iphone/ToolBarButton.css, and screenshots taken on an iPhone 4S iOS 5.0.1:
- iPhoneNativeVSdojoxMobileBeforePatches.png Comparison between a native iOS button with left arrow and the original dojox.mobile buttons (before any patch)
- nicVsAdrianPatches.png Comparison of the results between the two alternate patches.
Changed 10 years ago by
Attachment: | blackberryBeforeAndAfterPatch.png added |
---|
comment:3 Changed 10 years ago by
Attached:
- back_button_iphone_and_blackberry_adrian_15400.patch This contains a patch in the same mood for the BlackBerry theme. The patch for the iPhone theme is also included (it is similar to the version in back_button_iphone_adrian_15400.patch except for a simplification by removing useless declarations; so this version replaces the previous one).
- blackberryBeforeAndAfterPatch.png Comparison before-after for the BlackBerry patch.
Changed 10 years ago by
Attachment: | back_button_iphone_and_blackberry_adrian_15400.patch added |
---|
Adrian Vasiliu, IBM, CCLA
comment:4 Changed 10 years ago by
Note that Nic's patch for iphone/common.css was used for my screenshots, in addition to my variant of iphone/ToolBarButton.css, but this change in common.css (which makes the colors of the button closer to the native) was missing in back_button_iphone_and_blackberry_adrian_15400.patch. I reattached back_button_iphone_and_blackberry_adrian_15400.patch such that it now includes the full set of changes (for both iphone and blackberry).
comment:5 follow-up: 6 Changed 10 years ago by
Is see that the patches above modify the .css...shouldn't these changes be made to the .less source files?
comment:6 Changed 10 years ago by
Replying to chrism:
Is see that the patches above modify the .css...shouldn't these changes be made to the .less source files?
Yes, right: we should change at least common/ToolBarButton.less, iphone/variables.less and blackberry/variables.less
Thanks!
comment:7 Changed 10 years ago by
Thanks Chris for the reminder.
The newly attached patch_full_15400.patch replaces my previous patches and includes:
- Nic's patch for the gradient of the button (iphone only).
- The patches for the left and right button arrow (iphone and BB), similar to those in my previous patch.
- The corresponding changes in .less files. Here, the point was to avoid the propagation of changes elsewhere than where we wanted them (and tested them). However, for consistency, a few changes are propagated: the changes in BB's ToolBarButton.css are also propagated to ToolBarButton-compat.css. Ditto for iphone theme (common-compat.css and TabBar.css).
Note that the regeneration of css from less requires a specific nodejs and less version. The versions "ajaxorg-node-builds-bbbdd1c" and "cloudhead-less.js-7739fb1", that I received from Kamiyama, work fine (while recent versions fail).
comment:8 Changed 10 years ago by
Milestone: | tbd → 1.8 |
---|---|
Owner: | changed from Eric Durocher to cjolif |
Status: | new → assigned |
Type: | enhancement → defect |
This is really a design defect.
Changed 10 years ago by
Attachment: | patch15400SharperArrowTipOnIphone.patch added |
---|
Further improvement: sharper arrow tip on iPhone - Adrian Vasiliu, IBM, CCLA
Changed 10 years ago by
Attachment: | beforeAndAfterOnChromeIphoneIpad.png added |
---|
Screenshots before and after the patch, on Chrome, iPhone and iPad
Added two screenshots, the button on the right side is from the iOS simulator.
I could commit the changes if the patch is ok.