Closed
Bug 62808
Opened 25 years ago
Closed 24 years ago
Form manager dialog does not resize properly
Categories
(Toolkit :: Form Manager, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: morse, Assigned: morse)
Details
Attachments
(1 file)
26.41 KB,
patch
|
Details | Diff | Splinter Review |
From the menu select tasks->privacy->form-manager->view-captured-data
Note that the fields are not as wide as they could be
Note also that if the window is resized, the size of the fields does not
increase
Assignee | ||
Comment 1•25 years ago
|
||
Attaching patch to fix the problem. The files involved are:
WalletName.xul
WalletAddress.xul
WalletPhone.xul
WalletCredit.xul
WalletEmploy.xul
WalletMisc.xul
WalletConcatenated.xul
Note that there are two sets of diffs for WalletCredit.xul and WalletMisc.xul.
One set is with the conventional -u option and the other with the -u -w option.
The reason is that these files had a formatting fixup which made it appear as
though a lot of lines changes whereas the only change was indentation. So the
-w option showed which the true changes were.
Assignee | ||
Comment 2•25 years ago
|
||
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Whiteboard: [w]
Comment 3•25 years ago
|
||
Are () and ___ localizable (specifically, the latter)? Also, I'm not sure, but
I don't think percentage has any effect for |flex|es.
Comment 4•25 years ago
|
||
er..."specifically the *former*", that is
Assignee | ||
Comment 5•25 years ago
|
||
This dialog will have a more serious problem with localization because things
like addresses are laid out in a US-centric manner (zip code in two fields,
addresses on three lines, etc.). That was the reason I was reluctant to do a
dialog like this initially but instead had the old wallet editor which simply
listed all schema and their values in a vanilla manner, one after the other.
Although such a display was schema-neutral and i18n-neutral, it was not that
easy for the user. That's why I decided to bite the bullet and redo the dialog
as I did.
My thoughts are that l10n teams will have to redo the xul files as well as the
dtd files in this case. If that is what is agreed upon, the the xul files will
have to be moved to the locale directories. But that issue is outside the scope
of this bug report.
Assignee | ||
Comment 6•25 years ago
|
||
Percentag does have an effect for flexes. This was borne out by my experience
in the use of such in several places in these xul files. But I did have to set
the width attribute to 0 in order for that to work (don't ask me why that's so,
I simply found other examples in the code base and I copied them).
Comment 7•25 years ago
|
||
What's the reason for the various <column/>'s? Also, is specifying value=""
really necessary?
Assignee | ||
Comment 8•25 years ago
|
||
I may have misunderstood your question about percentages. I was replying that
indeed we can have flex use a different percentage for different items. But
your point may have been the the percent sign itself is unnecessary and that
simply by having a number with no qualifier after it will default to percentage.
I don't know if that is true or not. But if so, isn't it ambiguous when you
have flex="1" as to whether that's 100% or 1%?
Assignee | ||
Comment 9•25 years ago
|
||
The <column/>s are inside <grid>s. They are paired with <column flex="1"/>
which indicates that the first one takes as much room as it needs and the other
expands to take all the remaining space.
The value="" on the menuitems might not be absolutely necessary, but they dont'
hurt and they make for clarity in specifying that the menulist always has a
menuitem that is blank.
Comment 10•25 years ago
|
||
Alright, looks okay. I have some issues with the <menulist/>s used here, but
I'll split those off later. r=blake
Comment 11•25 years ago
|
||
cc'ing alec to sr
Comment 12•24 years ago
|
||
sr=alecf - I'm with blake, I think we eventually need to clean up this XUL
Assignee | ||
Comment 13•24 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•24 years ago
|
Whiteboard: [w]
You need to log in
before you can comment on or make changes to this bug.
Description
•