hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
273 stars 47 forks source link

picker: Allow dialog resizing #173

Closed rurigk closed 8 months ago

rurigk commented 8 months ago

I just adjusted the picker to be resizable And now buttons dont use absolute positions

I have limited c++ and qt knowledge but not able to resize that dialog was driving me crazy

rurigk commented 8 months ago

I set the window size directly with setGeometry because restoreGeometry just didnt work

A comment about the size remembering of the dialog I used the QSettings to save the data but right now is being saved in the hypr directory as hyprland-share-picker.conf

I didnt want to create more config files but what was my option? Save in a different dir and have more files spread in my system? Use the xdph.conf? i dont know how it works and if its possible

vaxerski commented 8 months ago

how about not remember the size?

rurigk commented 8 months ago

Yeah you are right fuck the user