Hey there, I was wondering if it was possible to set how "powerful" an expand property is. I'm making a simple timetable application which resizes everything to the window size but I noticed that the "recess" and "lunch" sections were just as large as the other sections which contain subject information and imo should be larger.
I've lined everything up in hboxes and set them all to expand so when the window gets resized they will grow/shrink with it. Is there a way to preserve this while also making the recess and lunch lines comparatively smaller? Thanks.
Expand force
- BruceSteers
- Posts: 1575
- Joined: Thursday 23rd July 2020 5:20pm
- Location: Isle of Wight
- Contact:
Re: Expand force
you can't change expand settings unfortunately.
to make the specific lines a different size i'd simply change the font size for those lines.
to make the specific lines a different size i'd simply change the font size for those lines.
If at first you don't succeed , try doing something differently.
BruceS
BruceS
- cogier
- Site Admin
- Posts: 1125
- Joined: Wednesday 21st September 2016 2:22pm
- Location: Guernsey, Channel Islands
Re: Expand force
Do you mean like this?
Re: Expand force
Yes I do! although as long as the buttons expand in all directions. The times on the left should stay the same size
Re: Expand force
Thanks for the help everyone, sorry I didn't respond sooner got a lot of stuff going on rn. I've come across a solution (ish) which is just to hide the elements when the form gets too small.
- BruceSteers
- Posts: 1575
- Joined: Thursday 23rd July 2020 5:20pm
- Location: Isle of Wight
- Contact:
Re: Expand force
the development branch of gambas now has Form.MinWidth and Form.MinHeight so you can now stop the form getting too small
If at first you don't succeed , try doing something differently.
BruceS
BruceS