Added BLayoutBuilder::{Group|Grid}::SetExplicitAlignment().
This commit is contained in:
parent
762e4ecaff
commit
17ad59afd3
@ -111,6 +111,7 @@ public:
|
||||
inline ThisBuilder& SetExplicitMinSize(BSize size);
|
||||
inline ThisBuilder& SetExplicitMaxSize(BSize size);
|
||||
inline ThisBuilder& SetExplicitPreferredSize(BSize size);
|
||||
inline ThisBuilder& SetExplicitAlignment(BAlignment alignment);
|
||||
|
||||
inline operator BGroupLayout*();
|
||||
|
||||
@ -206,6 +207,7 @@ public:
|
||||
inline ThisBuilder& SetExplicitMinSize(BSize size);
|
||||
inline ThisBuilder& SetExplicitMaxSize(BSize size);
|
||||
inline ThisBuilder& SetExplicitPreferredSize(BSize size);
|
||||
inline ThisBuilder& SetExplicitAlignment(BAlignment alignment);
|
||||
|
||||
inline operator BGridLayout*();
|
||||
|
||||
@ -642,6 +644,15 @@ Group<ParentBuilder>::SetExplicitPreferredSize(BSize size)
|
||||
}
|
||||
|
||||
|
||||
template<typename ParentBuilder>
|
||||
typename Group<ParentBuilder>::ThisBuilder&
|
||||
Group<ParentBuilder>::SetExplicitAlignment(BAlignment alignment)
|
||||
{
|
||||
fLayout->SetExplicitAlignment(alignment);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
template<typename ParentBuilder>
|
||||
Group<ParentBuilder>::operator BGroupLayout*()
|
||||
{
|
||||
@ -955,6 +966,15 @@ Grid<ParentBuilder>::SetExplicitPreferredSize(BSize size)
|
||||
}
|
||||
|
||||
|
||||
template<typename ParentBuilder>
|
||||
typename Grid<ParentBuilder>::ThisBuilder&
|
||||
Grid<ParentBuilder>::SetExplicitAlignment(BAlignment alignment)
|
||||
{
|
||||
fLayout->SetExplicitAlignment(alignment);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
template<typename ParentBuilder>
|
||||
Grid<ParentBuilder>::operator BGridLayout*()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user