From 21b205564dd4a6602a29b48fb314c4d3d5130ef6 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 31 Dec 2005 00:51:20 +0000 Subject: Adjusted layout of sub-samples. --- .../pages/Controls/Samples/TListBox/Home.page | 117 ++++++++++++++++----- .../pages/Controls/Samples/TTextBox/Home.page | 87 ++++++++++----- demos/quickstart/themes/Simple/style.css | 23 +++- 3 files changed, 171 insertions(+), 56 deletions(-) diff --git a/demos/quickstart/protected/pages/Controls/Samples/TListBox/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TListBox/Home.page index 776fc073..28d0dc1a 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TListBox/Home.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TListBox/Home.page @@ -2,31 +2,66 @@

TListBox Samples

-
-
Single Selection List Box
-List box with default settings:
+

List Boxes in Single Selection Mode

+ + + + + + + -List box with initial items:
+ + + + -List box with customized row number, color and font:
+ + + + + + + + + -Auto postback list box:
+ + + + -List box's behavior upon postback:
+ + + + + +
+List box with default settings: + -
+
+List box with initial items: + -
+
+List box with customized row number, color and font: + -
+
+Disabled list box: + + + + + + + +
+Auto postback list box: + @@ -34,9 +69,14 @@ Auto postback list box:
-
+
+List box's behavior upon postback: + @@ -45,39 +85,61 @@ List box's behavior upon postback:
-
- +
+ -
-
Multiple Selection List Box
-Use Shift + Left Click to change selection +

List Boxes in Multiple Selection Mode

+Use Shift + Mouse Click to change selection
-List box with default settings:
+ + + + + + + -List box with initial items:
+ + + + -Auto postback list box:
-
+ + + + -List box's behavior upon postback:
+ + + + + +
+List box with default settings: + -
+
+List box with initial items: + -
+
+Auto postback list box: + -
-
+
+List box's behavior upon postback: + @@ -87,6 +149,9 @@ List box's behavior upon postback:

+
-
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page index fd030996..4a9b58a3 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page @@ -2,18 +2,19 @@

TTextBox Samples

-
-
SingleLine and Password Text Boxes
+

SingeLine Text Boxes

+ + + + -Text box with vCard support:
+ + + + + + +
Text box with default settings: + -
- -Password text box: - -
+
Text box with customized color, font, columns, maximum length: + -
+
+Text box with vCard support: + First Name: Last Name: -
+
Disabled text box: + -
+
Read-only text box: + -
+
Auto postback text box: + -
+
Text box's behavior upon postback: + +
+ +

Password Text Boxes

+ +Password: -
-
-
MultiLine Text Boxes
+

MultiLine Text Boxes

-Text box with default settings:
+ + + -Text box with customized dimensions, font and content:
+ -Disabled text box:
+ -Read-only text box with text-wrapping disabled:
+ -Auto postback text box:
+ + +
+Text box with default settings: + -
+
+Text box with customized dimensions, font and content: + - + This is a multiline text box. In HTML, it is displayed as a textarea. - + -
+
+Disabled text box: + -
+
+Read-only text box with text-wrapping disabled: + -
+
+Auto postback text box: + -
- +
\ No newline at end of file diff --git a/demos/quickstart/themes/Simple/style.css b/demos/quickstart/themes/Simple/style.css index 31fb71f4..c854e23a 100644 --- a/demos/quickstart/themes/Simple/style.css +++ b/demos/quickstart/themes/Simple/style.css @@ -174,4 +174,25 @@ tt { border-bottom:1px solid silver; font-weight:bold; margin-bottom:5px; -} \ No newline at end of file +} + +.sampletable { + width: 100%; + border-collapse: collapse; +} + +.sampletable td { + border: 1px solid silver; + padding: 5px; + vertical-align: top; +} + +td.samplenote { + width: 300px; + text-align: right; + background: #BFE4FF; +} + +td.sampleaction { + background: #ffffee; +} -- cgit v1.2.3