Skip to content

height includes titlebar height on Linux #533

Closed
@processing-bot

Description

@processing-bot

Created by: QazCetelic

Description

Currently, the height variable includes the titlebar height. This is inconvenient when trying to fit a graphics in the display because the height has to be manually corrected.

Expected Behavior

The titlebar height is excluded from the height variable.

Steps to Reproduce

  1. Set size
  2. Use height

Your Environment

  • Processing version: 4.0b8
  • Operating System and OS version: Fedora Linux 36
  • Other information: I'm using the KDE Plasma desktop environment.

Possible Causes / Solutions

Either exclude the titlebar height, or if this is already meant to happen, make it work on all platforms.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions