[haiku-commits] Re: haiku: hrev48491 - src/preferences/filetypes

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 22 Dec 2014 14:52:22 +0100

Am 15.12.2014 um 12:55 schrieb Adrien Destugues:
In the case of DataTranslations, the problem is that the window size
changes as you swithc between different translators and they are
added/removed to the view. I tried to set an arbitrary minimal size
there so:
- The window has a reasonable size and fits the screen
- Most translators can fit their settings view in the allocated space
- Should a translator need more space, the window could still be made
   bigger

But setting the explicit min size of the window doesn't allow the 3rd
item, as the size of the child view is ignored when an explicit min size
is set.

IIRC you can set a preferred size on the view which is being used for the initial window size. Also IIRC, that's even its only use ATM.

Bye,
   Axel.

Other related posts: