manatools / dnfdragora

dnfdragora is a dnf frontend based on libyui abstraction
GNU General Public License v3.0
136 stars 41 forks source link

Please fix the UI for screens with height smaller than 1024 #233

Open dca00 opened 6 months ago

dca00 commented 6 months ago

On a screen with 900 lines, Dnfdragora is taller than the screen and cannot be resized to fit, therefore its Apply button is below the bottom edge of the screen.

You've already commented out lines that instantiate huge empty space with a box icon and useless banner "Software management". This is a good start.

Please also move the huge buttons Apply, Select, and Quit onto the same box as Search and Clear search.

If you also could add splitters between the tree and search results and between them and the details panel, it would have finally achieved the same level of user friendliness as Yumex that it replaced. Having a huge wide tree on the left and columns of the search results spanning 50 miles to the right of the screen's right edge is not very user-friendly.

Thanks! Much appreciated.

anaselli commented 6 months ago

There are things that cannot be done using libYUI, that is the price to pay to use a Widget Abstraction Library. Said that the minimum size should be 800x600, i don't think 640x480 still works because the dnfdragora layout requires room... You could try to run it with --fullscreen argument to see if it at least fits your screen. Anyway are you using Qt or Gtk? Moving to dnf5 i'm thinking to some layout changes to develop, but i need to finish the porting first. As always patches and contributions are more than welcome :)