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?
I experimented a bit with doing more
SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNSET));
SetExplicitMinSize(BSize(B_SIZE_UNSET, B_SIZE_UNSET));
for the fSizeInfo etc., but that didn't do it.
Regards,
Humdinger
[1]
https://github.com/humdingerb/BurnItNow/blob/sizer/Source/CompilationAudioView.cpp#L89
--
Did you know:
If half the Haiku supporters at http://www.goodsearch.com
made 10 searches a day, we could have a fulltime developer.