~scoopta/wofi#155: 
100% width wider than screen in horizontal orientation.

Hi,

When I run wofi with width=100% and orientation=horizontal (everything else default, no style.css), the wofi window is wider than my screen.

I'm using arch linux, and it happens both with wofi 1.2.4 from the repos and wofi-hg from the AUR.

Through experimenting, it appears that the extra width (~166px on my 1366x768 screen) is almost exactly the width of the input box.

I don't know C so can't check, but is the width of #scroll being set to the screen width, then #input added next to it?

Edit: Oh yeah, this is on sway 1.5.1

Status
RESOLVED FIXED
Submitter
~rgybmc
Assigned to
Submitted
3 years ago
Updated
3 years ago
Labels
bug

~scoopta REPORTED FIXED 3 years ago

You were exactly correct, #scroll was being set to the window dimensions and the size of #input was being ignored entirely. It's been fixed by bae1c99a465f

~rgybmc 3 years ago

Brilliant, thank you.

Updated and I can confirm it's working for me.

Register here or Log in to comment, or comment via email.