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 » LabelBase vertical alignment
LabelBase vertical alignment [message #54883] Thu, 24 September 2020 10:36 Go to next message
Pradip is currently offline  Pradip
Messages: 109
Registered: February 2019
Location: India
Experienced Member
Version: 14685

Found these lines in LabelBase.h
	LabelBase&  AlignTop()                                   { return SetAlign(ALIGN_TOP); }
	LabelBase&  AlignVCenter()                               { return SetAlign(ALIGN_CENTER); }
	LabelBase&  AlignBottom()                                { return SetAlign(ALIGN_BOTTOM); }

It doesn't work as intended. 'SetAlign' should be replaced by 'SetVAlign'.


Regards,
Pradip
Re: LabelBase vertical alignment [message #54890 is a reply to message #54883] Fri, 25 September 2020 08:30 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Pradip wrote on Thu, 24 September 2020 10:36
Version: 14685

Found these lines in LabelBase.h
	LabelBase&  AlignTop()                                   { return SetAlign(ALIGN_TOP); }
	LabelBase&  AlignVCenter()                               { return SetAlign(ALIGN_CENTER); }
	LabelBase&  AlignBottom()                                { return SetAlign(ALIGN_BOTTOM); }

It doesn't work as intended. 'SetAlign' should be replaced by 'SetVAlign'.


Thank you!
Previous Topic: Add Button crashes program on start
Next Topic: How to use multi-tab control?
Goto Forum:
  


Current Time: Fri Mar 29 06:53:17 CET 2024

Total time taken to generate the page: 0.00996 seconds