The idea for Pimp my GUI is taken from the popular MTV show Pimp My Ride.

Matlab Logo Blinkdagger proudly presents Pimp My Gui, a series that will provide our readers with tips and tricks on how they can make their GUIs beautiful on both the inside and outside. In this series, we start with a freshly created GUI from our newest prodigy, Zane Montgomery! This will be an ongoing project so don’t think the final result at the end of this post is the end. In the future, we are planning on opening up this series to include GUIs from our reader base, so stay tuned!

Contents

Zane’s Commuter GUI

Zane's Commuter Gui

About Zane’s GUI:

As a tutor, I have to work at one of three offices during the week (Federal Way, Issaquah, Lynnwood). One of my worries working for this company was the price of gas because driving would take up a good part of my pay. I heard that gas for work could be deducted from taxes so I decided to keep track of all of my miles. I had recently completed some of the blinkdagger tutorials and thought a GUI would be a great project to practice my new skills. I could have just made a simple Excel sheet, but then I would have to eventually come back and add everything up manually, why not have it all completed for me!


Adding in Panels

Zane's Commuter Gui with Panels

The panel icon on the GUIDE editor looks like this: Panel Icon.

You can find it here:

Guide

As can be seen, the panels immediately give the GUI a better structure and organization. Panels are an effective way to group together common elements and are simple to use. They provide lines and boundaries and makes it easier for the end user to navigate the GUI easily.

Labeling Panels

Zane's Commuter Gui

In this part of the revamping, we have simply given the panels a title name to identify that particular panel. In addition, we removed the redundant headers. This helps clean up the GUI even more and removes extraneous information. Also, the panel sizes are reduced to a size that adequately frames the content as to not waste space.

Reorganization

Zane's Commuter Gui

After some reorganization of the GUI, there is extra space that is no longer needed. This reduces the GUI size yet again and makes it more compact. In addition, the “Input Data” panel was extended to include the rest of the buttons so that there wouldn’t be any elements that are orphaned and just dangling alone.

Final Thoughts

Panels are an effective way to separate your GUI into manageable sections, giving the GUI definition. Join us next time as we continue to transform Zane’s GUI from the ugly duckling to the beautiful swan.