Bug 164003

Summary: CornerStyle of the Box class does not show any effect
Product: [Applications] kst Reporter: Yiwen Mao <yiwenv>
Component: scriptingAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Yiwen Mao 2008-06-13 23:43:29 UTC
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
Comment 1 Andrew Walker 2008-06-13 23:56:24 UTC
has been removed as is not supported from the user interface