How to Change the GTK Widget Size
A widget is a graphic that displays useful information and many modern phones and operating systems employ them. One of the original operating systems to use widgets was Linux. Linux operating systems that use the X Window System can use widgets from the GTK+ toolkit. If you use an operating system that supports the GTK+ toolkit, you can adjust the size of GTK widgets.
Instructions
-
-
1
Launch the terminal from your desktop environment. The terminal is equivalent to the "Command Prompt" in the Windows operating systems.
-
2
Type "void set_size_request(10 width, 10 height);" into the terminal prompt and press enter. "100" is a sample number, which can be adjusted.
-
-
3
Reset the widget to the default size by typing "void set_size_request(-1 width, -1 height);." If you replace "-1" with "0", it will shrink the widget to the smallest size it can.
-
4
Exit the terminal and view the new widget size. Adjust size as needed by repeating the previous steps.
-
1
Tips & Warnings
You can also adjust the style of widgets.
References
- Photo Credit Jupiterimages/Photos.com/Getty Images