摘要 |
A method for an electronic device having an input device and a display, including, displaying a block of text within a text editing application, displaying, in proximity of the block of text, an alignment control interface after a precondition is met, detecting a dragging motion associated with the alignment control interface, modifying an alignment of the block of text based, at least in part, on the detected dragging motion, detecting an end of the dragging motion, and, displaying, in a predetermined position associated with the alignment of the block of text, the alignment control interface. An electronic device including a display, an input device, a memory, and a processor, the processor being configured to execute the method. |
主权项 |
1. A method for an electronic device having an input device and a display, the method comprising:
displaying a block of text within a text editing application; displaying, in proximity of the block of text and within a text presentation portion of the text editing application, an alignment control interface after a precondition is met; detecting a dragging motion associated with the alignment control interface, the dragging motion changing a position of the alignment control interface relative to the block of text; modifying an alignment of the block of text based, at least in part, on the detected dragging motion, wherein modifying the alignment of the block of text based on the detected dragging motion comprises modifying the alignment of the block of text based on the position of the alignment control interface relative to the block of text; detecting an end of the dragging motion that results in a modified alignment of the block of text; and updating the alignment control interface based on the modified alignment of the block of text. |