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++ Library support » U++ Widgets - General questions or Mixed problems » List of custom controls, how?
Re: List of custom controls, how? [message #38008 is a reply to message #38001] Wed, 28 November 2012 07:30 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

crydev wrote on Tue, 27 November 2012 17:33

When I drag the bar back to the left, the description becomes hidden again.

This sounds like you got the positioning/sizing code slightly wrong. If you use layout file, check the "springs" that the label is correctly anchored. You want it to be fixed on all sides, so when resizing it keeps same distance from edges of layout:img]index.php?t=getfile&id=3937&private=0[/im g]

If you position the label in code, it should be done with something like this:
myLabel.HSizePosZ(leftMargin, rightMargin).VSizePosZ(topMargin, bottomMargin);


If needed, you can post the relevant part of you code and I can perhaps give you more precise advice Wink

Honza
  • Attachment: springs.png
    (Size: 3.58KB, Downloaded 323 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Control refresh time
Next Topic: VScrollBar in a StaticText
Goto Forum:
  


Current Time: Sat Jun 07 01:26:35 CEST 2025

Total time taken to generate the page: 0.03533 seconds