nkh / P5-App-Asciio

Plain ASCII diagram
https://nkh.github.io/P5-App-Asciio/
54 stars 4 forks source link

Make all dialogs use new layout #44

Closed nkh closed 1 year ago

nkh commented 1 year ago

old layout gave the same space to the elements

screenshot_2023-06-29_11-50-27

new layout, and size, gives a better overview

screenshot_2023-06-29_11-51-16

New code, see lib/App/Asciio/GTK/Asciio/stripes/editable_exec_box.pm

    my $vbox = Gtk3::Box->new( 'vertical', 8 );
qindapao commented 1 year ago

Well done, I've wanted to do this for a long time.I just didn't find the right way.

nkh commented 1 year ago

I'll change all of the dialogs, it's in many places, when I come to this, next commit will have it for the "universal" command box, that replaces code-box.

qindapao commented 1 year ago

http://www.figlet.org/

The command box will also work well with this tool to generate banners.

I can write this part of the document, including the cooperation with diagon.It's really interesting.

nkh commented 1 year ago

Can you please wait for the next commit? I'm also refactoring my code to use the same mechanism, I'll need 2 hours to finish and put some documentation for it.

We may need, but not right now, to find better names and better bindings. I'll write another ticket about bindings without ctl or alt in them.

qindapao commented 1 year ago

No problem, you follow your schedule.

Do the important things first, and leave the rest for later.

I'm still in the company, so I browsed it on my mobile phone.

nkh commented 1 year ago

Done in 435693c

@qindapao, Figlet and Diagon examples are yours.