[haiku-development] Re: documentation/help with layout system needed

Stephan Assmus schrieb:
-------- Original-Nachricht --------
Datum: Tue, 26 Aug 2008 12:16:36 +0200
Von: julun <host.haiku@xxxxxx>
An: haiku-development@xxxxxxxxxxxxx
Betreff: [haiku-development] Re: documentation/help with layout system needed

Hi Ingo,

Ingo Weinhold schrieb:
On 2008-08-26 at 10:53:33 [+0200], julun <host.haiku@xxxxxx> wrote:
Stephan Assmus schrieb:
<snip>


< snip >

hmm, no. Maybe i don't understand your question fully, but i had this:

* RadioButton 1
* RadioButton 2 TextContolView1 TextControlLabel2 TextControlView2
* RadioButton 3

Done like this one had at least to call CreateLabelLayoutItem() for TextContol1, even if not interested in the label. Well one can argue don't use the RadioButton label, which would then not work when used in e.g GridLayout etc. I intended to set the min column width for both TextControlView's, which works fine btw.

I think he meant that in your above case, you would simply attach the 
TextControlView1 itself, not it's CreateTextViewLayoutItem(). In another words, 
either layout items could be regarded as not making sense by just themselves.


hrmm, i didn't think about this. This should work of course. :)

Thanks,
Karsten

Other related posts: