Bug 58443 - Show Distribute Box on null layout alignment page is enabled when layout is not null
Summary: Show Distribute Box on null layout alignment page is enabled when layout is n...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: VE (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: VE Bugzilla inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-14 06:07 EDT by Joe Winchester CLA
Modified: 2011-06-13 11:38 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Winchester CLA 2004-04-14 06:07:13 EDT
Select a JPanel in GridBagLayout
Open the Alignment dialog
Switch to null - the Show Distribute Box button is enabled
This can be used to make the box appear - now select two or more components 
and the box is drawn around them.  It can be moved and resized OK, but because 
the panel is in GridBagLayout it makes no sense.  The Button should maybe be 
only available in null layout
Comment 1 Peter Walker CLA 2004-06-03 19:01:24 EDT
Jeff has redesign this whole dialog to work with layouts and components based on
selection. I could not reproduce this problem on the latest VE code base
(I20040603a).
Comment 2 Joe Winchester CLA 2004-09-28 10:27:53 EDT
The show box still appears.  To see this create MyJFrame extending JFrame and 
make its content pane null.  Add a couple of JComponents and set show 
distribute box to be on using the alignment dialog.  When you select both 
components the box is drawn around them (which is correct).  Then select the 
content pane (the distribute box disappears which is correct because there are 
no selected components to distribute) and switch it to GridBagLayout.  Now re-
select both of the components and the box re-appears.  It shouldn't be there 
are the container is no longer in null layout.  By appearing in GridBadLayout 
it can be moved and drawn but it serves no function as none of the distribute 
horizontally/vertically within box controls can be used, but it should only 
appear it the parent container is in null layout and it was selected from the 
distribute dialog
Comment 3 Richard Kulp CLA 2005-07-27 16:23:06 EDT
FYI: I verified that this still occurs with VE 1.1