Skip to content

Commit

Permalink
Merge pull request #498 from timgates42/bugfix_typos
Browse files Browse the repository at this point in the history
docs: Fix a few typos
  • Loading branch information
MatthieuDartiailh committed Jul 16, 2022
2 parents a32d44a + 9ea722f commit 2c65e09
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/source/examples/ex_grid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spacers to arrange things nicely.

The ``grid`` function allows items to span multiple cells by assigning the
same item to multiple cells. No checks are performed to ensure an item
spans a continugous cell block. Instead, items will span the smallest
spans a contiguous cell block. Instead, items will span the smallest
rectangular cell block which encloses all of its locations. Empty cells
are defined by using ``None`` as the cell item.

Expand Down
2 changes: 1 addition & 1 deletion enaml/qt/q_popup_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def adjust_arrow_rect(screen, rect, arrow_edge, target_pos, offset):


class QPopupView(QWidget):
""" A custom QWidget which implements a framless popup widget.
""" A custom QWidget which implements a frameless popup widget.
It is useful for showing transient configuration dialogs as well
as temporary notification windows.
Expand Down
2 changes: 1 addition & 1 deletion enaml/qt/qt_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def set_tool_tip(self, tool_tip):
self.widget.setToolTip(tool_tip)

def set_status_tip(self, status_tip):
""" Set the status tip on the underyling control.
""" Set the status tip on the underlying control.
"""
self.widget.setStatusTip(status_tip)
Expand Down
2 changes: 1 addition & 1 deletion enaml/qt/qt_dock_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def child_removed(self, child):
# ProxyDockArea API
#--------------------------------------------------------------------------
def set_tab_position(self, position):
""" Set the default tab position on the underyling widget.
""" Set the default tab position on the underlying widget.
"""
self.widget.setTabPosition(TAB_POSITIONS[position])
Expand Down
2 changes: 1 addition & 1 deletion enaml/qt/qt_dock_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def init_widget(self):
self.set_closable(d.closable)

def init_layout(self):
""" Initialize the layout for the underyling widget.
""" Initialize the layout for the underlying widget.
"""
super(QtDockItem, self).init_layout()
Expand Down
2 changes: 1 addition & 1 deletion enaml/qt/qt_dock_pane.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def set_title_bar_visible(self, visible):
self.widget.setTitleBarVisible(visible)

def set_title_bar_orientation(self, orientation):
""" Set the title bar orientation of the underyling widget.
""" Set the title bar orientation of the underlying widget.
"""
widget = self.widget
Expand Down
2 changes: 1 addition & 1 deletion enaml/qt/qt_flow_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def set_align(self, align):
self.widget.layout().setAlignment(_ALIGN_MAP[align])

def set_horizontal_spacing(self, spacing):
""" Set the horizontal spacing of the underyling control.
""" Set the horizontal spacing of the underlying control.
"""
self.widget.layout().setHorizontalSpacing(spacing)
Expand Down
2 changes: 1 addition & 1 deletion enaml/qt/qt_flow_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def init_widget(self):
self.set_ortho_stretch(d.ortho_stretch)

def init_layout(self):
""" Initialize the layout for the underyling widget.
""" Initialize the layout for the underlying widget.
"""
super(QtFlowItem, self).init_layout()
Expand Down
2 changes: 1 addition & 1 deletion enaml/qt/qt_notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def create_widget(self):
self.widget = widget

def init_widget(self):
""" Initialize the underyling widget.
""" Initialize the underlying widget.
"""
super(QtNotebook, self).init_widget()
Expand Down
2 changes: 1 addition & 1 deletion enaml/qt/qt_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def init_widget(self):
self.widget.pageClosed.connect(self.on_page_closed)

def init_layout(self):
""" Initialize the layout for the underyling widget.
""" Initialize the layout for the underlying widget.
"""
super(QtPage, self).init_layout()
Expand Down
4 changes: 2 additions & 2 deletions enaml/qt/qt_split_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def create_widget(self):
self.widget = QSplitItem(self.parent_widget())

def init_widget(self):
""" Initialize the underyling widget.
""" Initialize the underlying widget.
"""
super(QtSplitItem, self).init_widget()
Expand All @@ -141,7 +141,7 @@ def init_widget(self):
self.set_collapsible(d.collapsible)

def init_layout(self):
""" Initialize the layout for the underyling widget.
""" Initialize the layout for the underlying widget.
"""
super(QtSplitItem, self).init_layout()
Expand Down
2 changes: 1 addition & 1 deletion enaml/qt/qt_stack_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def create_widget(self):
self.widget = QStackItem(self.parent_widget())

def init_layout(self):
""" Initialize the layout for the underyling widget.
""" Initialize the layout for the underlying widget.
"""
super(QtStackItem, self).init_layout()
Expand Down
2 changes: 1 addition & 1 deletion enaml/qt/qt_tool_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def set_floating(self, floating):
self._guard &= ~FLOATED_GUARD

def set_dock_area(self, dock_area):
""" Set the dock area on the underyling widget.
""" Set the dock area on the underlying widget.
"""
self.widget.setToolBarArea(DOCK_AREAS[dock_area])
Expand Down
2 changes: 1 addition & 1 deletion enaml/styling.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def restyle(self):
def parent_changed(self, old, new):
""" A reimplemented parent changed event handler.
This will notifiy the :class:`StyleCache` if the parent of
This will notify the :class:`StyleCache` if the parent of
the item has changed.
"""
Expand Down
2 changes: 1 addition & 1 deletion enaml/widgets/mpl_canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


#: Delay the import of matplotlib until needed. This removes the hard
#: dependecy on matplotlib for the rest of the Enaml code base.
#: dependency on matplotlib for the rest of the Enaml code base.
def Figure():
from matplotlib.figure import Figure
return Figure
Expand Down
2 changes: 1 addition & 1 deletion enaml/widgets/vtk_canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from .control import Control, ProxyControl


#: Delay the import of vtk until needed. This removes the hard dependecy
#: Delay the import of vtk until needed. This removes the hard dependency
#: on vtk for the rest of the Enaml code base.
def vtkRenderer():
from vtk import vtkRenderer
Expand Down
2 changes: 1 addition & 1 deletion examples/workbench/crash_course.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ The `Plugin` class can be imported from `enaml.workbench.api`.

It will be uncommon for most end-user developers to ever need to create a
custom plugin class. That job is reserved for core application developers
which actually define how the application can be extened. That said, there
which actually define how the application can be extended. That said, there
are two methods on a plugin which will be of interest to developers:

start
Expand Down

0 comments on commit 2c65e09

Please sign in to comment.