Caption.resize does nothing; bounds are available but size is not #182

Closed
opened 2026-01-06 02:15:28 +00:00 by john · 0 comments
Owner

a caption has no size attribute, and therefore seemingly cannot be resized. However, its with and height are available via the bounds attribute.

Desired behavior:

  • caption gains a size attribute via the same technique that bounds gets the information. This attribute should have a getter, but no setter (read-only)
  • no resize method: we can't provide this behavior for captions/fonts.
  • caption can have .w and .h convenience properties via the bounds derived size, but likewise they should not have a setter assigned.
a caption has no `size` attribute, and therefore seemingly cannot be resized. However, its with and height are available via the `bounds` attribute. Desired behavior: * caption gains a `size` attribute via the same technique that `bounds` gets the information. This attribute should have a getter, but no setter (read-only) * no `resize` method: we can't provide this behavior for captions/fonts. * caption can have `.w` and `.h` convenience properties via the `bounds` derived size, but likewise they should not have a setter assigned.
john closed this issue 2026-01-06 09:41:55 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
john/McRogueFace#182
No description provided.