@@ -8,7 +8,7 @@ When adding an item or a property, it needs to be kept in sync with different pl
8
8
Lookup the [`crate::items`] module documentation.
9
9
*/
10
10
use super :: {
11
- EventResult , FontMetrics , InputType , Item , ItemConsts , ItemRc , ItemRef , KeyEventArg ,
11
+ CapsMode , EventResult , FontMetrics , InputType , Item , ItemConsts , ItemRc , ItemRef , KeyEventArg ,
12
12
KeyEventResult , KeyEventType , PointArg , PointerEventButton , RenderingResult ,
13
13
TextHorizontalAlignment , TextOverflow , TextStrokeStyle , TextVerticalAlignment , TextWrap ,
14
14
VoidArg , WindowItem ,
@@ -484,6 +484,7 @@ pub struct TextInput {
484
484
pub vertical_alignment : Property < TextVerticalAlignment > ,
485
485
pub wrap : Property < TextWrap > ,
486
486
pub input_type : Property < InputType > ,
487
+ pub caps_mode : Property < CapsMode > ,
487
488
pub letter_spacing : Property < LogicalLength > ,
488
489
pub width : Property < LogicalLength > ,
489
490
pub height : Property < LogicalLength > ,
@@ -1498,6 +1499,7 @@ impl TextInput {
1498
1499
cursor_rect_size,
1499
1500
anchor_point,
1500
1501
input_type : self . input_type ( ) ,
1502
+ caps_mode : self . caps_mode ( ) ,
1501
1503
}
1502
1504
}
1503
1505
0 commit comments