Fix typo.

This commit is contained in:
Martín Lucas Golini
2024-09-02 18:07:56 -03:00
parent 2440621ede
commit c256818b4c
3 changed files with 9 additions and 9 deletions

View File

@@ -108,9 +108,9 @@ class EE_API UITreeView : public UIAbstractTableView {
virtual void onOpenTreeModelIndex( const ModelIndex& index, bool open );
bool getDisableCellCliping() const;
bool getDisableCellClipping() const;
void setDisableCellCliping( bool disableCellCliping );
void setDisableCellClipping( bool disableCellCliping );
protected:
enum class IterationDecision {
@@ -127,7 +127,7 @@ class EE_API UITreeView : public UIAbstractTableView {
bool mExpandersAsIcons{ false };
bool mFocusOnSelection{ true };
bool mFocusSelectionDirty{ false };
bool mDisableCellCliping{ false };
bool mDisableCellClipping{ false };
UITreeView();

View File

@@ -178,7 +178,7 @@ UIWidget* UITreeView::setupCell( UITableCell* widget, UIWidget* rowWidget,
const ModelIndex& index ) {
widget->setParent( rowWidget );
widget->unsetFlags( UI_AUTO_SIZE );
widget->setClipType( mDisableCellCliping ? ClipType::None : ClipType::ContentBox );
widget->setClipType( mDisableCellClipping ? ClipType::None : ClipType::ContentBox );
widget->setLayoutSizePolicy( SizePolicy::Fixed, SizePolicy::Fixed );
widget->setTextAlign( UI_HALIGN_LEFT );
widget->setCurIndex( index );
@@ -743,12 +743,12 @@ void UITreeView::onOpenTreeModelIndex( const ModelIndex& index, bool open ) {
sendEvent( &event );
}
bool UITreeView::getDisableCellCliping() const {
return mDisableCellCliping;
bool UITreeView::getDisableCellClipping() const {
return mDisableCellClipping;
}
void UITreeView::setDisableCellCliping( bool disableCellCliping ) {
mDisableCellCliping = disableCellCliping;
void UITreeView::setDisableCellClipping( bool disableCellClipping ) {
mDisableCellClipping = disableCellClipping;
}
void UITreeView::onSortColumn( const size_t& ) {

View File

@@ -3342,7 +3342,7 @@ void App::initProjectTreeView( std::string path, bool openClean ) {
}
}
mProjectTreeView->setDisableCellCliping( true );
mProjectTreeView->setDisableCellClipping( true );
mProjectTreeView->setAutoExpandOnSingleColumn( true );
}