[
https://issues.apache.org/jira/browse/PIVOT-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roger Whitcomb updated PIVOT-817:
---------------------------------
Attachment: thick.patch
This patch implements the functionality, but there may be drawing problems when
the thickness is 2. A value of 3 seems to be fine (as is the default of 1).
Also, the focus rectangle doesn't do what I thought it would with the thick
border either (it is in the same relative position as with a default border).
So, someone should look over the changes to see if I've done something strange
in the drawing code. Maybe all the + 2 and +1 and -1 values didn't all have to
do with the border thickness...
> Implement "borderThickness" style for TerraPushButtonSkin
> ---------------------------------------------------------
>
> Key: PIVOT-817
> URL: https://issues.apache.org/jira/browse/PIVOT-817
> Project: Pivot
> Issue Type: Improvement
> Components: wtk-terra
> Affects Versions: 2.0.1
> Environment: Windows XP SP3, JDK 1.6.0_16
> Reporter: Roger Whitcomb
> Assignee: Roger Whitcomb
> Priority: Trivial
> Labels: pushbutton,, thickness
> Fix For: 2.0.1
>
> Attachments: thick.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> In order to somewhat simulate the appearance of the "default" button on
> Windows, which has a thicker border, it would be nice to be able to set the
> border thickness of a PushButton to something bigger than one.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira