PC Review


Reply
Thread Tools Rate Thread

Compressing the size of components (packing)

 
 
K Viltersten
Guest
Posts: n/a
 
      12th Oct 2008
In Java, in my younger years, i used to
call a method pack() after adding the
components to my window. It caused the
layout manager to set the desired size
(preferredSize, optimalSize, whatever
it's called) to all children.

I can't find such a thing in WPF,
though. How do i compact my layout?
As of now, i manually set properties
of ColumnDefinition objects and
RowDefinition objects, which seems to
be working but not excellent.

--
Regards
Konrad Viltersten
--------------------------------
sleep - a substitute for coffee for the poor
ambition - lack of sense to be lazy

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Workbook protection impacts file size when compressing a spreadshe Frank Canada Microsoft Excel Worksheet Functions 0 16th Oct 2009 09:04 PM
Compressing the size of Word doc Gloria Microsoft Word Document Management 4 19th Jun 2009 07:36 AM
compressing video file size Mike Microsoft Outlook Discussion 4 16th Jun 2009 05:05 AM
linking images and compressing file size =?Utf-8?B?TUo=?= Microsoft Powerpoint 8 4th Jun 2005 02:13 AM
Size of excel components tonyr Microsoft Excel Misc 1 22nd Nov 2003 12:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:34 PM.