You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Lee Whitcomb (Jira)" <ji...@apache.org> on 2021/03/18 16:15:00 UTC

[jira] [Resolved] (PIVOT-1054) Large Border font sizes cause the text to cut off at the top

     [ https://issues.apache.org/jira/browse/PIVOT-1054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Lee Whitcomb resolved PIVOT-1054.
---------------------------------------
    Resolution: Fixed

Resolved with this revision:

Sending        wtk/src/org/apache/pivot/wtk/skin/BorderSkin.java
Sending        wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraBorderSkin.java
Transmitting file data ..done
Committing transaction...
Committed revision 1887788.


> Large Border font sizes cause the text to cut off at the top
> ------------------------------------------------------------
>
>                 Key: PIVOT-1054
>                 URL: https://issues.apache.org/jira/browse/PIVOT-1054
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>            Reporter: Roger Lee Whitcomb
>            Assignee: Roger Lee Whitcomb
>            Priority: Minor
>             Fix For: 2.1.0
>
>         Attachments: border_font_problem_18.png, border_font_problem_24.png
>
>
> For instance, setting the Border "font" style to a size of 16 starts to cut off the top of the text.  This is because the sizing methods do not take font height into account when calculating the size of the component.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)