Improved the alignment and sizing of TabWidget tab headers
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14445 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -25,9 +25,6 @@ namespace osgUI
|
||||
class OSGUI_EXPORT AlignmentSettings : public osg::Object
|
||||
{
|
||||
public:
|
||||
AlignmentSettings();
|
||||
AlignmentSettings(const AlignmentSettings& as, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
|
||||
META_Object(osgUI, AlignmentSettings);
|
||||
|
||||
enum Alignment
|
||||
{
|
||||
@@ -52,6 +49,10 @@ public:
|
||||
RIGHT_BOTTOM_BASE_LINE
|
||||
};
|
||||
|
||||
AlignmentSettings(Alignment alignment=AlignmentSettings::LEFT_BOTTOM);
|
||||
AlignmentSettings(const AlignmentSettings& as, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
|
||||
META_Object(osgUI, AlignmentSettings);
|
||||
|
||||
void setAlignment(Alignment alignment) { _alignment = alignment; }
|
||||
Alignment getAlignment() const { return _alignment; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user