Closed Bug 117013 Opened 23 years ago Closed 23 years ago

Text Zoom dialog is too small to contain its contents

Categories

(SeaMonkey :: UI Design, defect)

PowerPC
Mac System 9.x
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mpt, Assigned: jag+mozilla)

References

Details

Attachments

(2 files)

Build: 2001122508, Mac OS 9.1 To reproduce: 1. Choose `View' > `Text Zoom' > `Other...' 2. Look at the dialog. The dialog is too small, and the `Cancel' and `OK' buttons are mostly invisible.
Blocks: 103711
Attached image screenshot
->jag
Assignee: blakeross → jaggernaut
Attached patch FixSplinter Review
Comment on attachment 62883 [details] [diff] [review] Fix r=fabian. intrinsic sizing, that's the solution. er. ok.
Attachment #62883 - Flags: review+
Intrinsic sizing, yes. When you call sizeToContent() from the load handler there's a good chance not all of the content will have been initialized yet (widgets unhidden from load handlers in overlays), so you end up sizing incorrectly. When you intrinsically size (i.e. when you don't explitely specify a window size in the xul or from js in an load handler), sizeToContent() will be called "automatically" when all load handlers have executed. As a rule of thumb, don't use sizeToContent() from a load handler but let intrinsic sizing do its job instead, unless you really know what you're doing.
Comment on attachment 62883 [details] [diff] [review] Fix sr=blake
Attachment #62883 - Flags: superreview+
Was checked in Dec 28.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
vrfy fixed using 2002.01.29.11 comm mac 9.x bits [under classic emulation]. with both themes, the text zoom other dlg looks fine.
Status: RESOLVED → VERIFIED
Product: Core → Mozilla Application Suite
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: