File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ namespace Ev3devKit.Devices {
127127 /**
128128 * Sets the brightness.
129129 *
130- * @param brightness Brighness level between 0 and max_brightness.
130+ * @param brightness Brightness level between 0 and max_brightness.
131131 * @throws Error if setting the brightness failed or the device was
132132 * removed.
133133 */
Original file line number Diff line number Diff line change @@ -69,9 +69,9 @@ namespace Ev3devKit.Ui {
6969 value_entry. weak_unref (release_next_focus_widget_down);
7070 }
7171
72- public InputDialog (string message , string inital_value = "") {
72+ public InputDialog (string message , string initial_value = "") {
7373 message_label. text = message;
74- value_entry. text = inital_value ;
74+ value_entry. text = initial_value ;
7575 }
7676
7777 void release_next_focus_widget_down () {
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ namespace Ev3devKit.Ui {
4545 public Button button { get ; construct; default = new Button (); }
4646
4747 /**
48- * Gets the Lable for the menu item.
48+ * Gets the Label for the menu item.
4949 */
5050 public Label label { get ; construct; default = new Label (); }
5151
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ namespace Ev3devKit.Ui {
4040 /**
4141 * Gets the screen the status bar is assigned to.
4242 *
43- * Returns ``null`` if the status bar is not assined to a screen.
43+ * Returns ``null`` if the status bar is not assigned to a screen.
4444 */
4545 public weak Screen ? screen { get ; internal set ; }
4646
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ namespace Ev3devKit.Ui {
333333 label. text = text;
334334 text_offset = 0 ;
335335 } else {
336- // FIXME: draw elipsis (...) or arrows instead of using text for contrinue left/right
336+ // FIXME: draw ellipsis (...) or arrows instead of using text for continue left/right
337337 if (! editing && text_offset > CONTINUE_LEFT . length)
338338 cursor_offset = text_offset;
339339 if (editing && cursor_offset < text_offset)
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ namespace Ev3devKit.Ui {
3636 public class Window : Ev3devKit .Ui .Container {
3737 /*
3838 * A flag to defer emitting shown() after the window has been
39- * layouted and drawn. This ensure that one can e.g. setup focused
39+ * laid out and drawn. This ensure that one can e.g. setup focused
4040 * widgets from a signal handler.
4141 */
4242 internal bool never_shown = true ;
You can’t perform that action at this time.
0 commit comments