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:
Robert Osfield
2014-09-10 17:03:27 +00:00
parent fafe06acbf
commit e3a3ae6de6
3 changed files with 21 additions and 12 deletions

View File

@@ -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; }