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 9443 - Internal Padding for Canvas is not working properly
Summary: Internal Padding for Canvas is not working properly
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: All Windows ME/2000
: P4 minor (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-06 15:53 UTC by Jan Kovar
Modified: 2003-06-30 18:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kovar 2001-02-06 15:53:56 UTC
Steps to reproduce:
1. Create a frame with GridBag layout
2. add Canvas anywhere
3. set internal padding to any number, bigger numbers makes it easier to see.
For example set it to 100
4. try to move Canvas within customizer window
5. after move the Canvas is bigger (those 100 is added)
Comment 1 Tomas Pavek 2001-02-23 18:41:05 UTC
Fixed the bug in GridBag customizer. Some problems might remain due to "funny" 
behaviour of Canvas when its parent container is resized.
Comment 2 Marian Mirilovic 2001-02-27 09:05:57 UTC
verified in [nb-dev](134),[pilsen](010226_3)

but as wrote Tomas, funny behaviour of Canvas when its parent container is
resized or selected / unselected. This problem cause visual problem in GridBag
Customizer, when such resized Canvas is resized to right size.

Problem is caused by AWT Fake Peer.
Comment 3 Quality Engineering 2003-06-30 18:28:32 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.