rods%netscape.com
aa14d30718
Added the proper event processing for disabled options
...
ListBoxes (as dropdowns) are now notified before the are about to be dropped down
git-svn-id: svn://10.0.0.236/trunk@46345 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 14:27:38 +00:00
buster%netscape.com
8dc2f7da63
made a small change to the way the file control interacts with the embedded gfx text control
...
now, it talks to it via nsIDOMHTMLInputElement interface, rather than assuming imlementation details
about what attributes to set.
git-svn-id: svn://10.0.0.236/trunk@46239 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 23:20:32 +00:00
pollmann%netscape.com
1045f56e80
Bug 12849: OnChange event.target is now the select instead of the option.
...
git-svn-id: svn://10.0.0.236/trunk@46145 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 02:16:23 +00:00
peterl%netscape.com
94339ec788
added accessors for additional style contexts
...
git-svn-id: svn://10.0.0.236/trunk@45966 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:36:32 +00:00
rods%netscape.com
30529a6153
when in standard mode and calculating desired size it removes the width of the native border
...
because it is implicitly added during the calculation
git-svn-id: svn://10.0.0.236/trunk@45896 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:48:26 +00:00
rods%netscape.com
b6f8bc909e
during reflow it now should only reflow once for GFX widgets
...
git-svn-id: svn://10.0.0.236/trunk@45895 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:44:53 +00:00
rods%netscape.com
04b1eeb64e
initial add (not in the build yet)
...
git-svn-id: svn://10.0.0.236/trunk@45891 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:25:15 +00:00
kipp%netscape.com
cff7c34c91
Eliminate some useless string malloc/free's
...
git-svn-id: svn://10.0.0.236/trunk@45818 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 03:47:06 +00:00
buster%netscape.com
d19957fe42
just a comment about a possible bug I saw going through this code
...
git-svn-id: svn://10.0.0.236/trunk@45726 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 20:47:20 +00:00
buster%netscape.com
c23a7f4749
replaced #define DEFAULT_PIXEL_WIDTH with nsTextControlFrame::GetDefaultColumnWidth()
...
git-svn-id: svn://10.0.0.236/trunk@45723 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 20:45:21 +00:00
buster%netscape.com
0cb716f347
added GetDefaultColumnWidth(), replacing a hardcoded #define
...
git-svn-id: svn://10.0.0.236/trunk@45722 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 20:44:17 +00:00
rods%netscape.com
ce8ef5632e
commented out some unused variables to remove warnings
...
git-svn-id: svn://10.0.0.236/trunk@45683 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 13:51:12 +00:00
mscott%netscape.com
31f0fb1257
check in for rod spears. Fix the small text edit fields for dynamic to in the compose window
...
and password dialogs
git-svn-id: svn://10.0.0.236/trunk@45428 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:11:17 +00:00
rods%netscape.com
0a22953524
Added AbsolutelyPositionDropDown
...
git-svn-id: svn://10.0.0.236/trunk@45342 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:23:15 +00:00
rods%netscape.com
58a795dc61
Removed ref counting changed the the popup is positioned
...
removing dom listeners on descruction
git-svn-id: svn://10.0.0.236/trunk@45341 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:22:50 +00:00
rods%netscape.com
d1f7052904
Added SynViewWithFrame
...
git-svn-id: svn://10.0.0.236/trunk@45340 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:22:45 +00:00
rods%netscape.com
0bd721ba73
removing dom listeners on descruction
...
exposed absolutely positioning of the dropdown
now tries to SyncFrameWithView
git-svn-id: svn://10.0.0.236/trunk@45339 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:22:40 +00:00
rods%netscape.com
280b982d3a
uses the new factored code for calculating size it helps for calculating suggested size
...
(see nsGfxButtonControlFrame.cpp)
git-svn-id: svn://10.0.0.236/trunk@45338 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:05:31 +00:00
rods%netscape.com
1c8a506178
Changed the way the button calculates it's size with respect to suggested size.
...
I factored out the part where border and padding is added in so it can be overridden.
git-svn-id: svn://10.0.0.236/trunk@45337 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:03:38 +00:00
rods%netscape.com
02ad25efb5
removed some warnings and made gfx text control ignore the extra padding from nsILookAndFeel which is for native wdiegst
...
git-svn-id: svn://10.0.0.236/trunk@45336 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 12:59:09 +00:00
kmcclusk%netscape.com
64227a6ec4
Removed compiler warning in nsFormControlHelper::PaintCircularBackground
...
git-svn-id: svn://10.0.0.236/trunk@45208 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:29:11 +00:00
rods%netscape.com
63673bd8b6
change all index parameters to PRInt32 from PRUint32
...
added key listener support for keyboard navagation inside the list
fixed extended selection
fixed a minor problem with selecting an item
git-svn-id: svn://10.0.0.236/trunk@44842 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:42:27 +00:00
rods%netscape.com
e7c6227e29
Changed Reflow to check for whether it is native mode or not. InGFX mode it now call the base class' (nsLeafFrame)
...
Reflow so it does a better job of laying out.
git-svn-id: svn://10.0.0.236/trunk@44840 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:38:54 +00:00
rods%netscape.com
077854306e
Added the other GetDesiredSize call overriding the base class call, and making it
...
the existing GetDesiredSize with the last param dummyed out. This makes all the sizing work
correctly with the change I put in in nsFormControlFrame
git-svn-id: svn://10.0.0.236/trunk@44838 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:34:54 +00:00
rods%netscape.com
ffd3403151
Changed to respect border and padding and now draw check mark "centered" in the available space
...
the check mark also sizes to content area
git-svn-id: svn://10.0.0.236/trunk@44837 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:31:59 +00:00
rods%netscape.com
be8a1131e1
Changed parameters from width and height to a nsRect
...
git-svn-id: svn://10.0.0.236/trunk@44836 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:31:54 +00:00
pollmann%netscape.com
c29557bf97
Bug 12350
...
git-svn-id: svn://10.0.0.236/trunk@44733 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 03:58:47 +00:00
pollmann%netscape.com
33abb09aa1
Cleanup, and bugfixes for bug 12475 and 12350
...
git-svn-id: svn://10.0.0.236/trunk@44732 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 03:58:13 +00:00
rods%netscape.com
495de201aa
Completely reworked the select GFX object - List and Combobox, it now does all event processing
...
via DOM listeners instead of through the frames
git-svn-id: svn://10.0.0.236/trunk@44679 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 14:54:07 +00:00
rods%netscape.com
e0b31dc463
Cleanup the file and gave it a unique GUID.
...
git-svn-id: svn://10.0.0.236/trunk@44674 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 14:45:53 +00:00
pollmann%netscape.com
7c57974948
Rewrite of AddOption/RemoveOption(), adding nsISelectControlFrame interface.
...
git-svn-id: svn://10.0.0.236/trunk@44367 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 21:55:56 +00:00
rods%netscape.com
30e2ad4948
Added GetDropDown method to return the nsListControlframe
...
git-svn-id: svn://10.0.0.236/trunk@44143 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 14:05:37 +00:00
buster%netscape.com
d73d1687de
preliminary support for text area wrap
...
install text control's event listeners ahead of the editor's own default listeners.
git-svn-id: svn://10.0.0.236/trunk@44122 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 06:46:08 +00:00
pollmann%netscape.com
8a60159afc
Bug 3256: Add ScrollIntoView() method to form control frame interface.
...
git-svn-id: svn://10.0.0.236/trunk@43913 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 00:10:13 +00:00
pollmann%netscape.com
60e2a67f05
Bug 3256: Add ScrollIntoView() method to form frame objects.
...
git-svn-id: svn://10.0.0.236/trunk@43912 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 00:09:24 +00:00
rods%netscape.com
b5eb053eec
Added method GetSelectedIndex
...
git-svn-id: svn://10.0.0.236/trunk@43611 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:26:38 +00:00
rods%netscape.com
b3cd7d09f5
Now uses the button for the display area and uses the new selected index methods from the ListControlFrame
...
git-svn-id: svn://10.0.0.236/trunk@43601 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:11:59 +00:00
rods%netscape.com
64ca5fd641
Renamed some methods and changed the selected item to be able to pass the currently selected index instead of just being able to get the currently selected item
...
git-svn-id: svn://10.0.0.236/trunk@43600 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:11:28 +00:00
rods%netscape.com
affac488d7
It now loks at the "disabled" property when initialized and looks for an attribute changed notification to disable itself
...
git-svn-id: svn://10.0.0.236/trunk@43595 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:03:53 +00:00
rods%netscape.com
9ab642bbe5
It now takes into account the suggested size in the calculation
...
git-svn-id: svn://10.0.0.236/trunk@43594 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:02:20 +00:00
rods%netscape.com
8aa3f445f1
The button was being sized wrong, so the computed border padding needed to be removed beforehand and then is added back in later by layout
...
git-svn-id: svn://10.0.0.236/trunk@43593 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:00:09 +00:00
kmcclusk%netscape.com
be14e9d88a
Fix for bug #11717 . Check in Ok'ed by cyeh@netscape.com
...
Don't do the super class'es IsSuccessful because it always returns PR_FALSE
because the (this) pointer is not equal to the submitter.
git-svn-id: svn://10.0.0.236/trunk@43258 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-12 22:06:09 +00:00
pinkerton%netscape.com
d334cb1ecb
cleaning up and simplifying checkbox. Adding tri-state checkbox behavior keyed off of the presence of an attribute.
...
git-svn-id: svn://10.0.0.236/trunk@43158 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 04:45:49 +00:00
pollmann%netscape.com
08d99078d0
Bug 10939: Make image input element transparent
...
git-svn-id: svn://10.0.0.236/trunk@43138 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 03:30:25 +00:00
rods%netscape.com
9cea7df2aa
Add GetFrameForPoint to return the combobox when it is disabled. Added disabled code.
...
git-svn-id: svn://10.0.0.236/trunk@43004 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:25:22 +00:00
rods%netscape.com
ab28d9a6f9
Fixed Reset to work properly, removed InitializeFromContent method, changed where the list was adding itself to FormControlFrame
...
git-svn-id: svn://10.0.0.236/trunk@43002 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:22:51 +00:00
kmcclusk%netscape.com
9e4c341c69
Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
...
Added style rules to set submit, reset, and browse buttons default labels.
git-svn-id: svn://10.0.0.236/trunk@42998 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:13:57 +00:00
rods%netscape.com
59bd3253ba
ifdef'ed out the ambigous compiler error for Linux, this code isn't being used at the moment
...
git-svn-id: svn://10.0.0.236/trunk@42455 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:42:00 +00:00
rods%netscape.com
33ecbde954
Started to add code to better handle resizing when there are no elements.
...
git-svn-id: svn://10.0.0.236/trunk@42450 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:14:38 +00:00
rods%netscape.com
56159e3427
Made the Combobox a nsIDOMFocusListener, so it can set the focus on the "display"
...
content when focus goes to the button or the combobox itself
git-svn-id: svn://10.0.0.236/trunk@42449 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:13:20 +00:00