Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Layout (Forms) Designer » Form control boundaries link rules (springs)
Form control boundaries link rules (springs) [message #15647] Fri, 02 May 2008 01:05 Go to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

I'd like to move my projects to u++ and contribute for develop and expand this product. It is easy to use.
For the start, I would like to modify (help me because i'm new in u++) link boundaries rules (springs) for form (layot) controls in this mode:
Every form control need have this settings:
1. Left border
A. Snap by an {control|layer} to left|right|center
B . Keep proportion if is snapping by an control|layer to left|right|center
2. Right border
A. Snap by an control|layer to left|right|center
B . Keep proportion if is snapping by an control|layer to left|right|center
3. Top border
A. Snap by an control|layer to top|bottom|center
B . Keep proportion if is snapping by an control|layer to top|bottom|center
4. Bottom border
A. Snap by an control|layer to top|bottom|center
B . Keep proportion if is snapping by an control|layer to top|bottom|center

I post video with an example to
My Homepage
.

Maybe i do not know full functional of controls library and form editor (LayDes and CtrLib packages) from u++ and this opportunities is realized better.

John!

[Updated on: Fri, 02 May 2008 01:20]

Report message to a moderator

Re: Form control boundaries link rules (springs) [message #15651 is a reply to message #15647] Fri, 02 May 2008 08:43 Go to previous messageGo to next message
Mindtraveller is currently offline  Mindtraveller
Messages: 916
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

tojocky wrote on Fri, 02 May 2008 03:05


Every form control need have this settings:
1. Left border
A. Snap by an {control|layer} to left|right|center
B . Keep proportion if is snapping by an control|layer to left|right|center
2. Right border
A. Snap by an control|layer to left|right|center
B . Keep proportion if is snapping by an control|layer to left|right|center
3. Top border
A. Snap by an control|layer to top|bottom|center
B . Keep proportion if is snapping by an control|layer to top|bottom|center
4. Bottom border
A. Snap by an control|layer to top|bottom|center
B . Keep proportion if is snapping by an control|layer to top|bottom|center

I post video with an example to
My Homepage
.

Maybe i do not know full functional of controls library and form editor (LayDes and CtrLib packages) from u++ and this opportunities is realized better.

John!
John, layouts do already have this functionality. And it is much simpler designed than one in your video. Just open TheIDE layout designer, add any control and look at four lines from this control towards 4 sides. They are clickable...
Re: Form control boundaries link rules (springs) [message #15655 is a reply to message #15651] Fri, 02 May 2008 11:27 Go to previous messageGo to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
That's not entirely true. There is a currently unsolved problem in that you cannot (AFAIK) have two controls that resize in the same direction on a window, because they end up overlapping.

I'd like to see this resolved as it's a common scenario. You can do it easily enough by adding addition layers of containers, but then you lose some of the benefits of the layout designed.

[Updated on: Fri, 02 May 2008 11:28]

Report message to a moderator

Re: Form control boundaries link rules (springs) [message #15666 is a reply to message #15655] Sat, 03 May 2008 09:17 Go to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

//mrjt
Quote:

That's not entirely true. There is a currently unsolved problem in that you cannot (AFAIK) have two controls that resize in the same direction on a window, because they end up overlapping.

To omit overlapping can set rules!
Quote:

but then you lose some of the benefits of the layout designed

If is modify library then need modify layout designed too. Or is other benefits wich i do not know? For the simplification we can set an wizard input form.

// Mindtraveller

Quote:

John, layouts do already have this functionality. And it is much simpler designed than one in your video. Just open TheIDE layout designer, add any control and look at four lines from this control towards 4 sides. They are clickable...

I see that the simple boundary link (spring) is set!

Previous Topic: Problem with tutorial
Next Topic: Adding files from outside the home directory
Goto Forum:
  


Current Time: Sat Feb 16 13:20:53 CET 2019

Total time taken to generate the page: 0.00671 seconds