bcpierce00 / unison

Unison file synchronizer
GNU General Public License v3.0
4.17k stars 235 forks source link

Better default "Profile selection" dialog width #170

Open nekohayo opened 6 years ago

nekohayo commented 6 years ago

A bit similar to #168 but this time for the width instead of the height: the "Profile Selection" dialog is meant to display labels that can be fairly long (the "description" column, and also the "second root" label*, and as a result it tends to expand and its width "jumps" around erratically (see this attached demonstration video: screencast.zip)

An example of a long "second root" label is: ssh://murasame.example.com:45000//home/jean-martin/.config/libreoffice/4/user/wordbook

So I would suggest that this dialog has a bigger default width, 900 pixels wide would already be generally sufficient I think (nobody has screens below 1024x768 these days, and on my side the dialog tends to request width around 850 pixels max depending on fonts/DPI etc.)

bcpierce00 commented 6 years ago

This is with the GTK UI or the OSX one?

Changing the default width (or height) should be easy. Communicating with the window manager to find out good dimensions requires a bit more knowledge.

nekohayo commented 6 years ago

Ah yes that's the GTK version, sorry I forgot to specify (isn't it wxwidgets behind the scenes? It "looks" and feels like wxwidgets at least, from the looks of the listview column headers)