mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-23 03:02:50 +03:00
Fix typo.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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& ) {
|
||||
|
||||
@@ -3342,7 +3342,7 @@ void App::initProjectTreeView( std::string path, bool openClean ) {
|
||||
}
|
||||
}
|
||||
|
||||
mProjectTreeView->setDisableCellCliping( true );
|
||||
mProjectTreeView->setDisableCellClipping( true );
|
||||
mProjectTreeView->setAutoExpandOnSingleColumn( true );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user