IceDesign GUI designer

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
Clanzer
New User
New User
Posts: 5
Joined: Thu Sep 04, 2025 5:05 pm

Re: IceDesign GUI designer

Post by Clanzer »

ChrisR wrote: Mon Jun 17, 2024 10:43 pm
blueb wrote: Mon Jun 17, 2024 4:07 pm I found that everything works very well for resizing (Forms, Buttons, etc)
except the font sizes on the buttons, etc. which remain the same.
I don't know if it's suitable for everyone, but maybe there's something I could add.
I'm saving the idea for after the summer vacation which is closer for me.

If you use the same font for all Gadgets, you can probably do it with something like this
Purchased IceDesign and well worth the money.

The auto gadget re-size works great in IceDesign and adding the font re-size routine would be great.

Cheers

Sean
User avatar
ChrisR
Addict
Addict
Posts: 1487
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

Hi Sean,
About the font re-size routine, I still have the same doubts about its usefulness and common practice.
I asked ChatGPT what is generally done in practice to resize fonts relative to window size.
Here is his answer (translated with DeepL), more complete than I could provide:
In desktop UI development (including in PureBasic), resizing the window does not usually involve automatically resizing fonts.
And it is not common practice to resize text proportionally to the window.

Here are the usual practices and reasons:

⭐ Common practice in most applications

Fonts remain fixed even if the window is enlarged.
Controls can be enlarged (gadgets, text boxes, lists, etc.).

This allows you to:
- display more text content (string gadgets, editor gadgets, etc.),
- avoid a “cartoon” effect where everything is unnecessarily enlarged,
- maintain visual consistency (the typography does not change with each resize).

This is what the following do:
- Windows Explorer
- Browsers
- Most office applications
- File managers, text editors, etc.

⭐ When do we resize the font?

Rarely, but it can be done in two cases:

1. Highly graphical or presentation-oriented interfaces

E.g.: drawing software, control panels, touch screens, dashboards.
Objective: to maintain consistent readability on a large screen.

2. Accessibility feature / User zoom

Some software offers:
- interface zoom (an option in the preferences),
- or a customizable font.

But this is never automatically linked to simply resizing the window.
...
I don't have much time right now, but maybe it could be considered as an option if there is a real need !
Clanzer
New User
New User
Posts: 5
Joined: Thu Sep 04, 2025 5:05 pm

Re: IceDesign GUI designer

Post by Clanzer »

ChrisR wrote: Fri Nov 14, 2025 4:56 pm Hi Sean,
About the font re-size routine, I still have the same doubts about its usefulness and common practice.
I don't have much time right now, but maybe it could be considered as an option if there is a real need !
Hi Chris

Thanks for the info, but I do not really understand why it is not useful.

The code example you pasted in a earlier post worked great and re-sized the fonts.
If the fonts are not re-sized I get the following where in the normal start size the screen looks like this
Image

Then after re-sizing you can see in picture below that the fonts cannot be read
Image

With the Titles like Enter Bobbin Width I created images that re-size okay to get around the fonts not re-sizing.

Or am I missing something here that I am not setting somewhere?

Thanks

Sean
User avatar
ChrisR
Addict
Addict
Posts: 1487
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: IceDesign GUI designer

Post by ChrisR »

Thanks for the pictures, Sean
I understand better the usefulness of having proportional fonts here, less for strings or editor gadgets allowing more text to be displayed.
It could be an additional option in the settings associated with "Proportional size for all gadget"
I can't promise anything for timing, as I'm quite busy at the moment, but I'll look into it.

Another option to consider, to avoid being below the minimum required size for gadgets would be to design for the minimum window size and specify the minimum window bounds in its properties.
Post Reply