[Kst] [Bug 164003] New: CornerStyle of the Box class does not show any effect

Yiwen Mao yiwenv at live.ca
Fri Jun 13 23:43:31 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=164003         
           Summary: CornerStyle of the Box class does not show any effect
           Product: kst
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: scripting
        AssignedTo: kst kde org
        ReportedBy: yiwenv live ca


Version:           1.7.0 (using KDE 4.0.1)
Installed from:    Unspecified
Compiler:          Fedora 6 
OS:                Linux

The corner styles of boxes cannot be modified by accessing cornerStyle of the Box Class


//construct a new box
kst> p=new Plot("W1")
Plot
kst> b=new Box(p)
Box
kst> b.resize(100,100)
undefined
kst> b.borderWidth=2;
2
kst> b.move(new Point(100,100))
undefined

//access the corner style of the box
kst> b.cornerStyle
undefined
//instead of returning the default value 0, it returns undefined

//modify the corner style of the box
kst> b.cornerStyle=1
1
kst> b.cornerStyle=2
2
kst> b.cornerStyle=0
0
//the box does not show any visual change


More information about the Kst mailing list