Hi,
Sorry if this isn't the place to ask, but I seem to be having trouble with getting my app drawer to work correctly. My version of eww is 0.5.0 (the latest release). Here's my code:
(defwidget apps []
(scroll :hscroll true
:vscroll false
:hexpand true
(box :space-evenly false
:halign "start"
:valign "center"
:class "apps"
:spacing 16
; :width 2560
(for app in apps
(box :halign "start"
:class "app"
(eventbox :onclick "~/.config/eww/s/toggleapps & gtk-launch ${app.app}"
:cursor "pointer"
:tooltip {app.comment}
(box :space-evenly false
(image :path {app.icon}
:image-width 16
:image-height 16)
(label :text {app.name} :wrap false)
)
)
)
)
)
)
)
The issue is that the individual app widgets (the ones with the app class) seem to be getting truncated when the explicit width property is commented out (without it, the issue isn't reproducible). The static width is a workaround, but won't cut it in the long run.
How can I avoid this weird behavior? Thanks in advance.
Hi,
Sorry if this isn't the place to ask, but I seem to be having trouble with getting my app drawer to work correctly. My version of eww is 0.5.0 (the latest release). Here's my code:
The issue is that the individual app widgets (the ones with the
appclass) seem to be getting truncated when the explicit width property is commented out (without it, the issue isn't reproducible). The static width is a workaround, but won't cut it in the long run.How can I avoid this weird behavior? Thanks in advance.