Skip to content

[BUG] transform only scales visually #1427

Open

Description

@Tobs2007

Checklist before submitting an issue

  • I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
  • I have specifically verified that this bug is not a common user error
  • I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug

when using transform to scale down something, it does visually scale down, just that the buttons are not scaled.

minimal config:

(defwindow debug
  :monitor 0
  :geometry (geometry :anchor "top left"
  :width "30%"
  :height "30%")
  :stacking "fg"
  :focusable "ondemand"
  :exclusive true
  (transform
      :scale-y "70%"
      :scale-x "70%"
      :translate-x "0%"
      :translate-y "15%"
    (box
      (for num in "[0,1,2,3,4,5,6,7,8,9,10]"
        (button :onclick "notify-send \"clicked on ${num}\"" {num})
        )
    ))
)

Reproducing the issue

No response

Expected behaviour

No response

Additional context

No response

Platform and environment

arch wayland, hyprland, self-compiled eww at commit #865cf631d5bbb5f9fccc99b3f4cc80b9eeada18c

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions