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 177196 - Invoke format action after d'n'd palette item
Summary: Invoke format action after d'n'd palette item
Status: RESOLVED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC All
: P3 normal (vote)
Assignee: Adam Sotona
URL:
Keywords:
: 170733 178667 185558 (view as bug list)
Depends on:
Blocks: 173487
  Show dependency tree
 
Reported: 2009-11-19 06:36 UTC by Lukas Hasik
Modified: 2011-05-16 13:50 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2009-11-19 06:36:45 UTC
-create new javafx application with main class

-you  will have a code like
------------
Stage {
    title: "Application title"
    scene: Scene {
        width: 250
        height: 80
        content: [
            Text {
                font : Font {
                    size : 16
                }
                x: 10
                y: 30
                content: "Application content"
            }
        ]
    }
}
--------


- put cursor at the end of "content" line and press Enter 
-Drag and drop e.g. "Drop Shadow" effect from palette and drop it on the new line
Result:
--------
...
                content: "Application content"
DropShadow  {
    offsetX:
    
    10
	offsetY:
    
    
    10
	color:
    
    
    Color.BLACK
	radius:
    
    
    10
}
---------

OTOH it drops into code correctly when you do not add the new line first. When you drop it directly at the end of "content" line
Comment 1 Anton Chechel 2009-11-23 08:28:45 UTC
Did you invoke reformat action after dropping palette item?
Comment 2 Anton Chechel 2010-01-27 07:06:49 UTC
If I invoke reformat after - it works.
We can think about invocation reformat automatically after d'n'd from palette. That could be another RFE.
Comment 3 Lukas Hasik 2010-01-27 07:33:03 UTC
no, it doesn't format after d'n'd. At least in 6.8
Comment 4 Anton Chechel 2010-04-01 13:36:02 UTC
*** Bug 170733 has been marked as a duplicate of this bug. ***
Comment 5 Anton Chechel 2010-04-01 13:37:41 UTC
*** Bug 178667 has been marked as a duplicate of this bug. ***
Comment 6 Anton Chechel 2010-06-14 12:46:36 UTC
*** Bug 185558 has been marked as a duplicate of this bug. ***
Comment 7 Martin Ryzl 2010-10-21 11:54:56 UTC
.
Comment 8 David Strupl 2011-05-16 13:50:18 UTC
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.