This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 61238 - Components in Component palette are shown in one column
Summary: Components in Component palette are shown in one column
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Palette (show other bugs)
Version: 5.x
Hardware: All Linux
: P4 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-21 15:16 UTC by Marian Mirilovic
Modified: 2009-12-03 03:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot - Before (471.09 KB, image/png)
2005-11-29 13:46 UTC, Marian Mirilovic
Details
screenshot - After (475.89 KB, image/png)
2005-11-29 13:48 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2005-07-21 15:16:31 UTC
NB.dev(build form sources 20050721-1500), JDK 6.0(b43)

Steps to reproduce:
- run IDE
- create new JFrame
-> component palette shows components in one column
- hide/show names
-> component palette shows components in two columns
Comment 1 Stanislav Aubrecht 2005-07-21 15:32:44 UTC
according to palette's ui spec the number of columns for palette items changes
dynamically according to palette window width and item size (show names/no names).

http://ui.netbeans.org/docs/ui/palette/index.html
Comment 2 Marian Mirilovic 2005-07-21 15:50:11 UTC
Standa, I haven't changed anything, I've just hided/shown names, no size of the
Component palette hasn't been changed.

It 's like:
-> Status A
- hide names
- show names
-> Status B

Status A != Status B , why ?
Comment 3 Stanislav Aubrecht 2005-07-21 16:04:36 UTC
ok, got it.

the problem is that the column width for items in a category may differ slightly
depening on whether the scrollbar is visible or not.
Comment 4 Stanislav Aubrecht 2005-11-24 15:53:05 UTC
i'm not able to reproduce this issue anymore. it may have already been resolved
by fixing issue #67912 (component layout & validation problem)

please reopen if you can still reproduce this issue.
Comment 5 Marian Mirilovic 2005-11-29 13:45:39 UTC
Standa, I am sorry but this is still reproducible. I'll attach the screenshot
before and after :
- run IDE
- create new project
- create JFrame
-> save Screenshot-before.png
- hide names in palette
- show names in palette
-> save Screenshot-after.png 
Comment 6 Marian Mirilovic 2005-11-29 13:46:45 UTC
Created attachment 27383 [details]
screenshot - Before
Comment 7 Marian Mirilovic 2005-11-29 13:48:36 UTC
Created attachment 27385 [details]
screenshot - After
Comment 8 Stanislav Aubrecht 2008-11-21 09:10:38 UTC
i don't know any easy fix for this issue, there's a lot of swing's preferred size calculations...
Comment 9 Quality Engineering 2009-11-02 11:00:08 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX
Comment 10 Marian Mirilovic 2009-12-03 03:24:20 UTC
v/c