Lines Matching refs:we
16 which is itself a BLayoutItem. Before we go any further, it is a good idea
38 above would work, but we'll use a BGroupLayout, because it suits this
47 Because we only have one item in this layout, \c orientation and \c spacing
57 Before we can add anything to our layout, we must attach it to something,
58 and here we've used the BWindow::SetLayout() method to accomplish that.
60 to manually <tt>delete group</tt> when we're done with it.
62 Now that we've got our BGroupLayout in place, we can start adding things
69 Now we've got a BWindow with a horizontal BGroupLayout holding
70 a single BView. However, if we want to ensure that our BStringView is always
71 centered in the window, we should give it an explicit BAlignment. So the
90 Because we want our BMenuBar to appear at the very top of the window, we
91 have to insert it at index \c 0, above the BStringView we added earlier.
95 already been set by the BGroupLayout constructor, so we don't need to do
98 Now that we've put our BGroupLayout to good use, we can rest easy, assured
104 example, that we wanted to add a grid of BButtons under our BStringView.
112 Because we want a bit of breathing room between our buttons, we'll leave
120 You'll notice that we've added \c grid directly to \c group. This means that
121 any BView objects we add to \c grid will become children of \c window, but
131 Now we've got a nice grid of BButton objects, let's go over it quickly: