Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sapphire » Scale vertically does not work for text field
Scale vertically does not work for text field [message #1064666] Thu, 20 June 2013 09:15 Go to next message
kon f is currently offline kon f
Messages: 112
Registered: March 2012
Senior Member
Hey,

I'm trying to scale the Content property but it does not work. I checked the purchase order example and I only noticed the use of <scale-vertically>true</scale-vertically>. One additional difference to my sdef file is the additional split form but I doubt this as reason.

<?xml version="1.0" encoding="UTF-8"?>
<definition>
	<editor-page>
		<id>editor.page</id>
		<element-type>ui.editor.Root</element-type>
		<page-name>Design</page-name>
		<page-header-text>Items</page-header-text>
		<initial-selection>test procedures</initial-selection>
		<root-node>
			<node>
				<label>descriptions</label>
				<node-factory>
					<property>DescriptionBase</property>
					<case>
						<model-element-type>ui.editor.description.Parameter</model-element-type>
						<label>[Parameter]</label>
						<section>
							<label>Parameter</label>
							<content>
								<property-editor>
									<show-label>false</show-label>
									<property>Content</property>
									<span>true</span>
									<scale-vertically>true</scale-vertically>
								</property-editor>
							</content>
							<scale-vertically>true</scale-vertically>
						</section>
					</case>
				</node-factory>
			</node>
			<node>
				<node-factory>
					<property>Items</property>
					<case>
						<section>
							<content>
								<property-editor>Id</property-editor>
								<property-editor>Title</property-editor>
							</content>
							<width>600</width>
						</section>
						<label>Item</label>
					</case>
				</node-factory>
				<label>items</label>
			</node>
		</root-node>
	</editor-page>
</definition>


I made a screen shot using org.eclipse.pde.picasso plug-in.

index.php/fa/15338/0/

Somehow the dark blue composite does not get spanned vertically. Does my sdef file contain any error?

Thank you.

Kon
  • Attachment: oyw.png
    (Size: 60.39KB, Downloaded 149 times)

[Updated on: Fri, 21 June 2013 05:40]

Report message to a moderator

Re: Scale vertically does not work for text field [message #1064716 is a reply to message #1064666] Thu, 20 June 2013 12:08 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin Komissarchik
Messages: 940
Registered: July 2009
Senior Member
Hmm... I don't know that I ever tried scaling a section vertically in the details area of a master-details page. Please open a bug and I will investigate.
Re: Scale vertically does not work for text field [message #1064831 is a reply to message #1064716] Fri, 21 June 2013 05:41 Go to previous message
kon f is currently offline kon f
Messages: 112
Registered: March 2012
Senior Member
Hey Konstantin,

I added a bug report https://bugs.eclipse.org/bugs/show_bug.cgi?id=411347

Thank you!

Kon
Previous Topic:Generating a config.xml file
Next Topic:Undo/Redo functionality in ui editor
Goto Forum:
  


Current Time: Thu Aug 28 23:27:36 EDT 2014

Powered by FUDForum. Page generated in 0.01674 seconds