Bug 135824 - api review for a new switch to respect preferred size of slided-in top components
api review for a new switch to respect preferred size of slided-in top compon...
Status: RESOLVED FIXED
Product: platform
Classification: Unclassified
Component: Window System
6.x
All All
: P2 (vote)
: 6.x
Assigned To: Stanislav Aubrecht
issues@platform
: API_REVIEW_FAST
Depends on:
Blocks: 135318
  Show dependency treegraph
 
Reported: 2008-05-26 16:11 UTC by Stanislav Aubrecht
Modified: 2008-12-22 10:50 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
:


Attachments
proposed patch (16.77 KB, patch)
2008-05-26 16:13 UTC, Stanislav Aubrecht
Details | Diff
default behavior of slided-in windows (79.65 KB, image/png)
2008-05-26 16:21 UTC, Stanislav Aubrecht
Details
preferred size of slided-in window is respected (92.94 KB, image/png)
2008-05-26 16:22 UTC, Stanislav Aubrecht
Details
unit test (4.04 KB, text/plain)
2008-05-27 09:50 UTC, Stanislav Aubrecht
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Aubrecht 2008-05-26 16:11:11 UTC
the current implementation of window system enlarges all slided-in windows to the whole height/width of the main window.
for some sliding windows (tool picker, color picker etc) it desirable to maintain the original or preferred size when
slided-in
Comment 1 Stanislav Aubrecht 2008-05-26 16:13:20 UTC
Created attachment 61933 [details]
proposed patch
Comment 2 Stanislav Aubrecht 2008-05-26 16:14:49 UTC
my proposal is to define a new boolean client property for TopComponents that will force window system into respecting
TopComponent's preferred size when set to True, see attached patch
Comment 3 Stanislav Aubrecht 2008-05-26 16:21:05 UTC
Created attachment 61935 [details]
default behavior of slided-in windows
Comment 4 Stanislav Aubrecht 2008-05-26 16:22:00 UTC
Created attachment 61936 [details]
preferred size of slided-in window is respected
Comment 5 Jaroslav Tulach 2008-05-27 09:46:04 UTC
Y01 Test?
Comment 6 Stanislav Aubrecht 2008-05-27 09:50:16 UTC
Created attachment 61959 [details]
unit test
Comment 7 Stanislav Aubrecht 2008-05-27 09:50:42 UTC
(for some reason the test didn't show up in the diff patch)
Comment 8 Stanislav Aubrecht 2008-05-29 10:11:04 UTC
if there are no objections, i'll integrate tomorrow (friday 30th)
Comment 9 Stanislav Aubrecht 2008-05-30 09:06:44 UTC
done



By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo