|
|
 |

|

 |

| Community » Perl: Allgemeines Forum |
|
Tk::grid etwas oben ausrichten
|
Seitenanfang |
Hallo! Wie kann ich mit dem Packmanager grid die Inhalte der Zellen oben ausrichten? Bei CGI und HTML kann man eine eigenschaft valign="top" angeben, gibts sowas auch für grid? mfg pktm
Datum: 14.12.2004-16:13

|
re: Tk::grid etwas oben ausrichten
|
Seitenanfang |
hier bitte, schätze das meinst du (aus `perldoc tk::grid`) :-sticky => style If a slave's cell is larger than its requested dimensions, this option may be used to position (or stretch) the slave within its cell. Style is a string that contains zero or more of the characters n, s, e or w. The string can optionally contain spaces or commas, but they are ignored. Each letter refers to a side (north, south, east, or west) that the slave will ``stick'' to. If both n and s (or e and w) are specified, the slave will be stretched to fill the entire height (or width) of its cavity. The sticky option subsumes the combination of -anchor and -fill that is used by pack. The default is '', which causes the slave to be centered in its cavity, at its requested size.
Datum: 15.12.2004-12:21

|
|

|

|

|
 |

|

|
|