XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently May 10th, 2025, 11:19 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Dynamic component sizing
PostPosted: May 15th, 2013, 5:24 pm 
Offline
User avatar

Joined: March 8th, 2013, 10:27 pm
Posts: 353
Is there any way to add components that will auto size as per the size available??

Currently I'm coding a widget that has a layer. I want to add image controls into it. It can be one or more. I want them to share the available space?? Is it possible with standard alignment options??

If it is then plz suggest something??? An example is the windows task manager "performance" tab. That creates graphs per the number of CPUs.

_________________
Life is a myriad game... Just play it!


Top
 Profile  
 
PostPosted: May 16th, 2013, 4:08 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Could u provide us a screenshot for what do u mean..?

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: May 16th, 2013, 5:12 am 
Offline
User avatar

Joined: June 10th, 2012, 5:57 am
Posts: 313
Attachment:
align.jpg
align.jpg [ 121.2 KiB | Viewed 3087 times ]


All child controls can use the same align.But child controls may be out of order sometimes.


Top
 Profile  
 
PostPosted: May 16th, 2013, 5:18 pm 
Offline
User avatar

Joined: March 8th, 2013, 10:27 pm
Posts: 353
qiancang wrote:
Attachment:
align.jpg


All child controls can use the same align.But child controls may be out of order sometimes.


Thanks, you got me to the right path... And for the alignment issue... XWidget parses component from bottom to top so after saving I had to manually arrange the components in my main.xul!

_________________
Life is a myriad game... Just play it!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: Bing [Bot] and 46 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group