VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /proc/thread-self/root/usr/share/doc/renaissance-doc/html/manual/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/thread-self/root/usr/share/doc/renaissance-doc/html/manual/node9.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>1.7 Expanding views over their minimum size</TITLE>
<META NAME="description" CONTENT="1.7 Expanding views over their minimum size">
<META NAME="keywords" CONTENT="manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="manual.css">

<LINK REL="next" HREF="node10.html">
<LINK REL="previous" HREF="node8.html">
<LINK REL="up" HREF="node2.html">
<LINK REL="next" HREF="node10.html">
</HEAD>

<BODY BGCOLOR="#FFFFFF" text="#000000" link="#0000FF" vlink="#4444FF" alink="#3388FF">
<B> Next: <A NAME="tex2html395"
  HREF="node10.html">1.8 How expanding flags</A> </B>
<B>Up: <A NAME="tex2html391"
  HREF="node2.html">1. Renaissance AutoLayout</A>  </B>
<B> Previous: <A NAME="tex2html385"
  HREF="node8.html">1.6 Renaissance AutoLayout support</A> </B>
<BR> <P>

<!--End of Navigation Panel-->

<H1><A NAME="SECTION00270000000000000000">
1.7 Expanding views over their minimum size</A>
</H1>
Some views display information, and once they are of the minimum size
required to display the information, making them bigger does not show
any more information.  A typical example is a fixed text label, or a
button with written 'Cancel', or a button with an image of fixed size.
If all the window were made of such views, once the window is laid
out, there would be no reason to make the window resizable.  All the
information is displayed comfortably on the window in the minimum
size, and more space on the window would help in no way, except mess
up the layout.

<P>
Other views display information, but if they are made bigger, they
benefit from it and can use the new space to display more information.
A typical example is an editable text field, where the user can insert
a string of arbitrary length.  When the window is automatically
created, the text field is of some arbitrary, predermined, length.  If
the user needs to insert more text than the text field can accomodate
at its default size, the user might want to enlarge the text field.
This is normally achieved by making the window resizable, and setting
up the autolayout in such a way that if the user makes the window
bigger, the text field is automatically made bigger.

<P>
Finally, often enough sizing a view to its minimum size is enough to
display the information in the view, but it looks pretty ugly in the
context of the other views.  This is true even for views which are
naturally and inherently unresizable; for example, in panels it's
common to display the 'OK' and the 'Cancel' button at the bottom, with
the same size.  Even if the minimum size of the 'OK' and of the
'Cancel' button are different and they are never supposed to be
resized when the window is later resized, it's more aestethically
pleasant to make them of the same size.

<P>
In other cases, views which look nice at their minimum size might
still require alignment to fit nicely in the rest of the window.  If
more space is available, while they are not resized themselves, they
might need the space to be spread intelligently around in order to be
moved into the right position.

<P>
Finally, some views do look nice at their minimum size, but it might
be graphically nice to expand them when the window is expanded over
the minimum size, to keep them in a pleasant relationship with the
other views.

<P>
<HR><B> Next: <A NAME="tex2html395"
  HREF="node10.html">1.8 How expanding flags</A> </B>
<B>Up: <A NAME="tex2html391"
  HREF="node2.html">1. Renaissance AutoLayout</A> </B>
<B> Previous: <A NAME="tex2html385"
  HREF="node8.html">1.6 Renaissance AutoLayout support</A> </B>

<!--End of Navigation Panel-->
<ADDRESS>

2008-03-19
</ADDRESS>
</BODY>
</HTML>

VaKeR 2022