remove grid usage from comm/mail/components/im/content/addbuddy.xul, comm/mail/components/im/content/imAccountWizard.xul and comm/mail/components/im/content/joinchat.xul
Categories
(Thunderbird :: Instant Messaging, task)
Tracking
(Not tracked)
People
(Reporter: khushil324, Assigned: khushil324)
References
Details
Attachments
(1 file, 8 obsolete files)
(deleted),
patch
|
khushil324
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
hmm? looks odd, and the things you do in javascript should probably be
adjusted.
We are using hbox/separator as reference points where we want dynamic XUL elements(i.e. elements we are inserting through javascript) in between. We just need their ids for querying. So anything will work, hbox or separator.
Comment 8•6 years ago
|
||
Yes but you seem to iterate until getting to the next "separator" which is of course not relevant if all you need is to clean the hbox children
Assignee | ||
Comment 9•6 years ago
|
||
We are not inserting anything as a child of separator/hbox. We are inserting hbox with a child element of label as a next sibling of separator/hbox. And we are removing all the elements at the start with an iteration so that we can again insert hbox with label child element according to relevant service.
Do you want to get rid of separator logic and want all the new inserted element as a child of separator/hbox/vbox? But there, flex property will create a problem.
Comment 10•6 years ago
|
||
If it's possible, that would be more logical. The current approach is a bit of a hack.
Assignee | ||
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
That was supposed to say "really quite a mess..."
Assignee | ||
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
I think the joinchat changes were not quite correct. Check this out and see what you think.
The auto-join checkbox is now in another place, but I think it was misplaced to begin with.
Assignee | ||
Comment 16•6 years ago
|
||
It worked, Thanks for the help. Now, I am also adding Autojoin Checkbox through Javascript.
Comment 17•6 years ago
|
||
But why add it through script? For the placement, I think having it under the middle column is actually a bit strange
Assignee | ||
Comment 18•6 years ago
|
||
Comment 19•6 years ago
|
||
Assignee | ||
Comment 20•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Comment 21•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/56e61fde5f62
remove grid usage from addbuddy.xul, imAccountWizard.xul and joinchat.xul. r=mkmelin
Updated•6 years ago
|
Updated•5 years ago
|
Description
•