Эх сурвалжийг харах

No ticket. Hash update from art-widgets to fix splitview to honor explicit size.

* change to art-widgets: http://github.com/cloudera/art-widgets/commit/c4700d0eda0e285185f39a9fb11bd4a7c9eeb450
* added example of this behavior in jframe gallery
Aaron Newton 15 жил өмнө
parent
commit
bcc72eb6ae

+ 35 - 0
apps/jframegallery/src/jframegallery/templates/splitview.(explicit.size).html

@@ -0,0 +1,35 @@
+{% comment %}
+Licensed to Cloudera, Inc. under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  Cloudera, Inc. licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+{% endcomment %}
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<html>
+	<head>
+		<title>Splitview</title>
+	</head>
+	<body>
+			<div data-filters="SplitView">
+				<div class="left_col jframe_padded">
+					this is the left column.<br/>
+					this column is the one that resizes when you resize the window.
+				</div>
+				<div class="right_col jframe_padded" style="width: 200px;">
+					and this is the right,<br/>
+					note that it has an explicit, inline style for width set to 200px.
+				</div>
+			</div>
+	</body>
+</html>

+ 1 - 1
ext/thirdparty/js/art-widgets.hash

@@ -1 +1 @@
-aafaf55d99cf92d1f445b5babc6a901939efce06
+c4700d0eda0e285185f39a9fb11bd4a7c9eeb450