In this video, I show how to create an application GUI with YAD using the --form option. Form allows you to have one or more columns for the buttons which makes for a nicer-looking GUI (in my opinion).
Here is the YAD code used in the video, but please understand that it is using an image that you don't have. So, if you copy it, you will end up with the default YAD image at the top of the GUI. ;)
EDIT: Replace leafpad with your preferred text editor, and replace xterm with your preferred terminal. ;)
___________________________________________
#!/usr/bin/env bash
yad --form --center --borders=10 --window-icon="/usr/share/miyolinux/icons/miyolinux2.png" --title="Miyo Accessories" --columns=3 --no-buttons --image-on-top \
--image=/usr/share/miyolinux/icons/miyo-accessories.png \
--field=" Top!htop":fbtn "xterm -e top" \
--field=" picom.conf!text-editor":fbtn "leafpad $HOME/.config/picom.conf" \
--field=" Calendar!calendar":fbtn "yad --calendar --no-buttons --width=400 --center --undecorated --close-on-unfocus" \
--field=" Autostart!text-editor":fbtn "leafpad $HOME/.config/openbox/autostart" \
--field=" System Upgrade!terminal":fbtn "apt-update.sh" \
--field=" rc.xml!text-editor":fbtn "leafpad $HOME/.config/openbox/rc.xml" \
________________________________________
Here is the code for the script that the "System Upgrade" button is calling for...
#!/usr/bin/env bash
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xterm -e "apt-get update&&apt-get dist-upgrade"