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 » StatusBar&InfoCtrl » Adding some spacing to a statusbar
Adding some spacing to a statusbar [message #18117] Wed, 10 September 2008 21:25
cas_ is currently offline  cas_
Messages: 20
Registered: July 2008
Location: Poland
Promising Member
Hello!

I have several InfoCtrls put on a statusbar. Each of those InfoCtrls is preceeded by a label wrapped in FrameRight/FrameLeft template. (There is no simpler way to label InfoCtrl, is there?). Let me draw a simple diagram:

[label_1][infoCtrl_1][label_2][infoCtrl_2]


With the default placement, infoCtrl_1 and label_2 are too close to each other. I'd like to add some space in between to make things a bit prettier. I've been thinking on two possible solutions:

1. aligning label_2 to right hand side and making it a few pixels wider than what's is required to display whole text
2. adding some fake FrameRight< StaticRect > in between

Is there a better way to achieve what I want? Maybe it's possible to explicitly add some margin to a frame?
Previous Topic: Using SizeGrip on StatusBar locks mouse on Kubuntu Linux
Next Topic: Code rendudance in StatusBar::StatusBar() method
Goto Forum:
  


Current Time: Sun Aug 18 15:48:29 CEST 2019

Total time taken to generate the page: 0.01022 seconds