Bug 164003 - CornerStyle of the Box class does not show any effect
Summary: CornerStyle of the Box class does not show any effect
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: scripting (show other bugs)
Version: 1.x
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-13 23:43 UTC by Yiwen Mao
Modified: 2008-06-13 23:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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