摘要 |
According to this embodiment, an electronic device is equipped with a display device, a sensor, and a display control means. The sensor detects the orientation of the display device. When one side of the display device changes from a first state along a first direction to a second state along a second direction differing from the first direction, the display control means causes the alignment direction of the characters in the second state to conform to the alignment direction of the characters in the first state in order to display the characters. When the alignment direction of the characters in the second state is caused to conform with the alignment direction of the characters in the first state, if the number of characters per line is a first quantity or less, the display control means displays the alignment direction of the characters in the second state in a direction differing from the alignment direction of the characters in the first state. |