Closed
Bug 388566
Opened 17 years ago
Closed 17 years ago
Set a minimum width for calendar and mode toolbar icons
Categories
(Calendar :: Lightning Only, defect)
Calendar
Lightning Only
Tracking
(Not tracked)
VERIFIED
FIXED
0.7
People
(Reporter: sipaq, Assigned: sipaq)
References
Details
Attachments
(7 files)
Both Firefox and Thunderbird set minimum-width for their toolbar icons and after discussion with Christian, I think that such a minor change would improve our UI.
Assignee | ||
Comment 1•17 years ago
|
||
Assignee | ||
Comment 2•17 years ago
|
||
Assignee | ||
Comment 3•17 years ago
|
||
Assignee | ||
Comment 4•17 years ago
|
||
Assignee | ||
Comment 5•17 years ago
|
||
Attachment #272788 -
Flags: ui-review?(christian.jansen)
Attachment #272788 -
Flags: review?(daniel.boelzle)
Comment 6•17 years ago
|
||
Comment on attachment 272788 [details]
Patch v1
Looks good for me. Thanks for the work :-)
Attachment #272788 -
Flags: ui-review?(christian.jansen) → ui-review+
Comment 7•17 years ago
|
||
ui-review=Chris
Updated•17 years ago
|
Attachment #272788 -
Flags: review?(daniel.boelzle) → review+
Assignee | ||
Comment 8•17 years ago
|
||
Patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 9•17 years ago
|
||
This patch is either incomplete or faulty because it wrecks the icon only mode.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 10•17 years ago
|
||
Screenshot for the icon only mode. Without the patch the icon size is the same on mail and calendar toolbar. With the patch the icons on calendar toolbar are to wide.
Comment 11•17 years ago
|
||
Simon, can you point me to the location where Firefox and Thunderbird set the minimum-width for their toolbar icons? On a quick search I only found <http://lxr.mozilla.org/mozilla1.8/source/mail/themes/qute/mail/messenger.css#101> and <http://lxr.mozilla.org/mozilla1.8/source/browser/themes/winstripe/browser/browser.css#261>. But this is a different width. It also seems that there is nothing similar for the pinstripe theme.
Assignee | ||
Comment 12•17 years ago
|
||
I wouldn't call this wrecking the icon-only mode, but I agree that the current solution is not optimal. We should probably introduce a toolbar[mode="full"] .cal-toolbarbutton-1 { statement, to which we assign the min-width: 50px Feel free to supply a patch on this. I'll probably not get to this before the weekend.
Comment 13•17 years ago
|
||
This image shows the main Thunderbird toolbar on Windows. It is measurable that the min. width is 55px. This matches the link in Comment #11. -> For Lightning (winstripe theme) the min. width should be 55px (not 50px) but only for "full" mode. As also said in Comment #11 I did not saw a similar setting in the pinstripe theme. Could someone provide a similar screenshot for the MacOS X build of Thunderbird or could point to the source?
Assignee | ||
Comment 14•17 years ago
|
||
The patch in bug 388016 will fix this bug.
Assignee | ||
Comment 16•17 years ago
|
||
Fixed by the checkin for bug 388016.
Status: REOPENED → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 17•17 years ago
|
||
I accidentally added a "min-width: 0" statement to the section for the small calendar mode toolbar. I've reverted that change. Sorry for messing things up!
Comment 18•17 years ago
|
||
(In reply to comment #17) The rule for small toolbar buttons had "min-width: 0px;" set before you changed it to "min-width: 50px;". (See you patch in this bug) In my opinion the "min-width: 0px;" should be added back as also commented in Bug 388016 Comment #30.
Assignee | ||
Comment 19•17 years ago
|
||
I don't think, that the rule should be added back. The reason is, that this would create an inconsistency between Thunderbird and Lightning. Just try to switch between large and small icon+text mode in the mail toolbar and then in the calendar toolbar with and without the "min-width: 0px". In the mail toolbar the icons just vary their height. The calendar toolbar without the "min-width: 0px" is doing the same, without the "min-width: 0px" the icons get crammed together and move to the right. I don't think that we should have such inconsistencies in our UI if we can avoid them.
Comment 20•17 years ago
|
||
Verified in latest nightly build 20080108 -> task is fixed.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•