Method and system for sizing of graphical user interface objects for localization
First Claim
1. A method for resizing a plurality of controls located in a window displayed in a graphical user interface in a data processing system, wherein the plurality of controls include replacement symbols, the method comprising:
- determining an amount of resizing for each of the plurality of controls required to contain the replacement symbols;
recording a maximum amount of resizing in response to the determining step;
resizing the window and resizing and repositioning the plurality of controls using the maximum amount of resizing recorded in the recording step;
determining whether the maximum amount of resizing will expand the window beyond the portion of the graphical user interface displayed to the user on a display device prior to resizing the window and the plurality of controls; and
adjusting the maximum amount of resizing such that the window is fully displayed within the display device in response to a determination that the maximum amount of resizing would expand the window beyond the portion of the graphical user interface displayed to the user.
1 Assignment
0 Petitions
Accused Products
Abstract
A method in a data processing system for resizing and repositioning controls in a window displayed in a graphical user interface within the data processing system. The controls include symbols, such as text that may be replaced with other symbols, such as text in a different language. In response to replacing text in the controls within a window, an amount of resizing is determined for each control this amount of resizing is an amount that is required to expand the control to contain the replacement symbol. The maximum amount of resizing is recorded after each control has been analyzed. For each control in the window, the control is resized by the maximum amount of resizing. The maximum amount of resizing may be adjusted to ensure that the window will be fully displayed within the display device. Additionally, the expansion may be limited only to controls or windows that contain text.
-
Citations
16 Claims
-
1. A method for resizing a plurality of controls located in a window displayed in a graphical user interface in a data processing system, wherein the plurality of controls include replacement symbols, the method comprising:
-
determining an amount of resizing for each of the plurality of controls required to contain the replacement symbols; recording a maximum amount of resizing in response to the determining step; resizing the window and resizing and repositioning the plurality of controls using the maximum amount of resizing recorded in the recording step; determining whether the maximum amount of resizing will expand the window beyond the portion of the graphical user interface displayed to the user on a display device prior to resizing the window and the plurality of controls; and adjusting the maximum amount of resizing such that the window is fully displayed within the display device in response to a determination that the maximum amount of resizing would expand the window beyond the portion of the graphical user interface displayed to the user. - View Dependent Claims (2, 3)
-
-
4. A data processing system for resizing and repositioning a plurality of controls in a window displayed in a graphical user interface in the data processing system, wherein the plurality of controls contain symbols, the data processing system comprising:
-
replacement means for replacing symbols in the plurality of controls with replacement symbols; determination means for determining an amount of resizing for each of the plurality of controls required to contain the replacement symbols; recording means for recording a maximum amount of resizing in response to the determining means; resizing means for resizing the window and resizing and repositioning the plurality of controls utilizing the maximum amount of resizing recorded in the recording means; determination means for determining whether the maximum amount of resizing will expand the window beyond the portion of the graphical user interface displayed to the user on a display device prior to resizing the window and the plurality of controls; and adjustment means for adjusting the maximum amount of resizing such that the window is fully displayed within the display device in response to a determination that the maximum amount of resizing would expand the window such that a full display of the window within the display device would be absent. - View Dependent Claims (5, 6, 7, 8, 9, 10)
-
-
11. A data processing system for resizing a plurality of controls in a window displayed in a graphical user interface in the data processing system, wherein the plurality of controls contain symbols, the data processing system comprising:
-
memory means for storing the window and the plurality of controls; and processing means coupled to the memory means, the processing means includes means for replacing symbols in the plurality of controls with replacement symbols, means for determining an amount of resizing for each of the plurality of controls required to contain the replacement symbols, means for recording a maximum amount of resizing in response to the means for determining, means for resizing the window and controls utilizing the maximum amount of resizing recorded in the means for recording, means for determining whether the maximum amount of resizing will expand the window beyond the portion of the graphical user interface displayed to the user on a display device prior to resizing the window and the plurality of controls, and means for adjusting the maximum amount of resizing such that the window is fully displayed within the display device in response to a determination that the maximum amount of resizing would expand the window such that a full display of the window within the display device would be absent. - View Dependent Claims (12)
-
-
13. A storage device readable by data processing system and encoding data processing system executable instructions for resizing a plurality of controls in a window displayed in a graphical user interface, the data storage device comprising:
-
means for replacing symbols in the plurality of controls with replacement symbols; means for determining an amount of resizing for each of the plurality of controls required to contain the replacement symbols; means for recording a maximum amount of resizing in response to the means for determining; means for resizing the window and controls utilizing the maximum amount of resizing recorded by the means for recording, wherein the means are activated when the storage device is connected to and accessed by the data processing system; means for determining whether the maximum amount of resizing will expand the window beyond the portion of the graphical user interface displayed to the user on a display device prior to resizing the window and the plurality of controls; and means for adjusting the maximum amount of resizing such that the window is fully displayed within the display device in response to a determination that the maximum amount of resizing would expand the window such that a full display of the window within the display device would be absent. - View Dependent Claims (14, 15, 16)
-
Specification