Closed
Bug 356533
Opened 20 years ago
Closed 19 years ago
incomplete buttons with some themes
Categories
(Calendar :: Lightning Only, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
0.7
People
(Reporter: gerard-florence.durand, Assigned: ssitter)
References
Details
Attachments
(3 files, 1 obsolete file)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr; rv:1.8.1) Gecko/20061003 Firefox/2.0
Build Identifier: Mozilla Thunderbird version 2 beta 1 (20061012)
In "Day view", "week view" or "month view", some of the buttons at the top are not complete when using a theme such as Noia2, because this themen as rounded button. The missing part is on the left. A solution to this problem is to delete 4 lines in lighting.css, those containing margin: 0px; and padding: 0px in the items .title2 and .title0 (no such lines in .title1, so no problem).
With version 0.3 a new problem with the "rotate" button, in "Day view" and "week view", always with Noia2 theme. Here too button in not correct, but not the same effect as previously : left rounded part is missing, and right part appear above the central part of the button.
Reproducible: Always
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Updated•20 years ago
|
Version: unspecified → Lightning 0.3
Updated•19 years ago
|
Whiteboard: [qa discussion needed]
Confirmed: Thunderbird version 2 beta 2 (20070122), Lightning: 2007012203, Noia Theme: 2.32
Windows XP Pro SP 2.
Also confirmed on Mac PPC with same versions of Thunderbird, Lightning, and Noia.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
Whiteboard: [qa discussion needed]
| Reporter | ||
Comment 3•19 years ago
|
||
Modifications made in two files from chrome subfolder. Not perfect, but it works...
Updated•19 years ago
|
Attachment #252624 -
Attachment is patch: false
Attachment #252624 -
Attachment mime type: text/plain → application/zip
Comment 4•19 years ago
|
||
Gerard, you have to provide a diff file so we can see what you have changed in which file. Maybe you could do this for Lighning 0.5 RC1 (http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/0.5rc1/).
| Reporter | ||
Comment 5•19 years ago
|
||
Sorry, I had problem today to download this new 0.51 version, but here are the modifications made on 0.31 version.
I have modified 2 files : lightning.css in classic.jar and calendar-multiday-view.xml in calendar.jar.
For lightning .css,
modifications are in line 106-107 and 125-126 (added simply a comment in margin and padding within .tile2 and .title 0. .title1 is OK).
here is the modified code :
.title2 {
font-size:1.2em;
color: #4e84c2;
/* margin:0px;*/
/* padding:0px;*/
cursor:pointer;
-moz-appearance: none;
border: 0px;
}
.title0 {
font-size:2.0em;
color: #2e4e73;
font-weight:bold;
/* margin:0px;*/
/* padding:0px; */
-moz-appearance: none;
border: 0px;
}
For calendar-multiday-view.xml, I modified lines 1561 to 1563 (in <binding id="calendar-multiday-view">):
Original lines are :
<xul:box anonid="labelbox" align="center">
<xul:box anonid="labeltimespacer" align="center">
<xul:button style="min-width: 10px; background: red;"
Modified lines are :
<xul:box anonid="labelbox">
<xul:box anonid="labeltimespacer">
<xul:button style="min-width: 10px; padding: 1px; background: red;"
I simply deleted align="center" and padding: 1px in those lines.
| Assignee | ||
Comment 6•19 years ago
|
||
This patch removes the margin and padding from rule .title2 and .title0 as proposed by Gerard. I do not fix the Rotate button because it's going to be removed with Bug 378270.
Attachment #252624 -
Attachment is obsolete: true
Attachment #271222 -
Flags: review?(michael.buettner)
| Assignee | ||
Comment 7•19 years ago
|
||
I tested some popular themes from addons.mozilla.org. As you can see the width for the buttons slightly increases depend on the selected theme but the button issue is fixed.
Updated•19 years ago
|
Assignee: nobody → ssitter
Updated•19 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 9•19 years ago
|
||
Comment on attachment 271222 [details] [diff] [review]
remove margin and padding rule
Moving review to daniel to relieve mickey
Attachment #271222 -
Flags: review?(michael.buettner) → review?(daniel.boelzle)
Updated•19 years ago
|
Attachment #271222 -
Flags: review?(daniel.boelzle) → review?(michael.buettner)
Comment 10•19 years ago
|
||
Comment on attachment 271222 [details] [diff] [review]
remove margin and padding rule
r=mickey.
Attachment #271222 -
Flags: review?(michael.buettner) → review+
Comment 11•19 years ago
|
||
patch checked in on trunk and MOZILLA_1_8_BRANCH
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Target Milestone: --- → 0.7
You need to log in
before you can comment on or make changes to this bug.
Description
•