Home
last modified time | relevance | path

Searched hist:"6195 bee580ae46ba714b18b5a3d804aa19d01fab" (Results 1 – 4 of 4) sorted by relevance

/haiku/src/add-ons/translators/webp/
H A DConfigView.h6195bee580ae46ba714b18b5a3d804aa19d01fab Wed Nov 05 20:13:27 UTC 2014 Adrien Destugues <pulkomandy@gmail.com> GIF and WebP translators: force layout of parent window

Translators are now allowed to use the layout API, but this doesn't work
well when they are used in a non-layout aware window (the view ends up
with a size of 0x0 or some arbitrary size set with
SetExplicitPreferredSize).

To avoid this, detect the case where the translator settings are the
single child of a non-layout window, and force the window to become
layouted.

Fixes #7754.
H A DConfigView.cpp6195bee580ae46ba714b18b5a3d804aa19d01fab Wed Nov 05 20:13:27 UTC 2014 Adrien Destugues <pulkomandy@gmail.com> GIF and WebP translators: force layout of parent window

Translators are now allowed to use the layout API, but this doesn't work
well when they are used in a non-layout aware window (the view ends up
with a size of 0x0 or some arbitrary size set with
SetExplicitPreferredSize).

To avoid this, detect the case where the translator settings are the
single child of a non-layout window, and force the window to become
layouted.

Fixes #7754.
/haiku/src/add-ons/translators/gif/
H A DGIFView.h6195bee580ae46ba714b18b5a3d804aa19d01fab Wed Nov 05 20:13:27 UTC 2014 Adrien Destugues <pulkomandy@gmail.com> GIF and WebP translators: force layout of parent window

Translators are now allowed to use the layout API, but this doesn't work
well when they are used in a non-layout aware window (the view ends up
with a size of 0x0 or some arbitrary size set with
SetExplicitPreferredSize).

To avoid this, detect the case where the translator settings are the
single child of a non-layout window, and force the window to become
layouted.

Fixes #7754.
H A DGIFView.cpp6195bee580ae46ba714b18b5a3d804aa19d01fab Wed Nov 05 20:13:27 UTC 2014 Adrien Destugues <pulkomandy@gmail.com> GIF and WebP translators: force layout of parent window

Translators are now allowed to use the layout API, but this doesn't work
well when they are used in a non-layout aware window (the view ends up
with a size of 0x0 or some arbitrary size set with
SetExplicitPreferredSize).

To avoid this, detect the case where the translator settings are the
single child of a non-layout window, and force the window to become
layouted.

Fixes #7754.