Open
Bug 111770
Opened 23 years ago
Updated 2 years ago
Ability to create a "getinfo" sized dialog
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
NEW
Future
People
(Reporter: sicking, Unassigned)
References
(Blocks 1 open bug)
Details
to fix bug 89258 i need to create a dialog with a size of the platforms default "getinfo"/"properties" dialog size. Timeless suggested to me on irc that we could implement this by creating a <dialog type="getinfo"/> which would use nsILookAndFeel to get the size of the dialog. This could be used by for example bookmark properties, folder properties, message properties and a few more (mpt and timeless had a few ideas) thoughts?
Comment 1•23 years ago
|
||
I sincerely doubt Mac Os is going to be able to tell you this size. I've never seen an API that would do it (which doesn't mean there definately isn't one, but I've spent a fair bit of time in the documentation), and I'd put money on the fact its a function of the Finder, not the OS per se. The Finder is really just an application (like explorer.exe) and as such, most things it does do not have APIs... Just hardcode it ;) The place that would most likely be able to give you a definative answer (other than paying for an incident with dts@apple.com) is the apple-hit-developers (n.b. that's hit (human interface toolbox) not hi (human interface design)) mailing list @ lists.apple.com.
I think we'd have to hardcode it on Windows, too, but from looking on Win2K the dialogs are a slightly different depending on the context. Display Properties - 404 x 448 File Properties - 370 x 443 Folder Properties - 374 x 443 So do we really gain anything by standardizing on a single size? Perhaps. But what happens if something needs a window 448 high? I guess that nsILookAndFeel could at the very least provide a guideline, and the dialog could stretch if needed (stretch != resizable).
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
Updated•15 years ago
|
Assignee: hewitt → nobody
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•