[haiku-3rdparty-dev] Re: Window size becomes 'indecreasable'

  • From: Pete Goodeve <pete.goodeve@xxxxxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Sun, 19 Jan 2020 21:27:42 -0800

On Sat, Sep 30, 2017 at 06:52:33PM +0200, Humdinger wrote:

Hi there!

I'm working on BurnItNow in my branch "sizer" [1].
The BurnWindow sports a tab view with a bunch of Compilation*Views. In
those, I added a BStringView fSizeInfo and a custom BView fSizeBar to
show how much capacity is left on a medium as a string and a coloured
bar.

The problem:
* build and launch BurnItNow
* make the window a bit wider (up to now you can in/decrease window
size arbitrarily)
* click "Choose folder" and select any folder

-> the string "~ Empty project ~" in fSizeInfo gets exchanged with
what space is left on the medium
-> the bar fSizeBar is adjusted accordingly

=> The window jumps to become a bit wider (I suspect because of the
changed fSizeInfo string), but now you also can't make the window any
narrower.

What might be wrong?


That sounds very similar to the problem with ArtPaint.  Once you increase
the width of the canvas window much above its original size, you can never
make it any smaller again.

(I tried solving it once-- never found the answer...)

        -- Pete --

Other related posts: