Bug 384109 - Not possible to set fixed size for a View/Widget using Properties
Summary: Not possible to set fixed size for a View/Widget using Properties
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2012-07-03 03:42 EDT by Stefan Stalberg CLA
Modified: 2012-07-03 11:34 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Stalberg CLA 2012-07-03 03:42:53 EDT
Build Identifier: 20120606-2254

Using Juno's graphical XML layout editor, it is not possible to specify a fixed size for an Android widget/view in the Properties-LayoutParameters-Width/Height fields. It only allows fill_parent and wrap_content, but not a manually entered fixed size e.g. "60dp".




Reproducible: Always

Steps to Reproduce:
1.Create an Android project
2.Create a New - Other - Android XML File
3.Add/drag a Button to the Layout, using the Palette-Form Widgets
4.Click on the added Button and view its properties
5.Click on the Width field in Layout Parameters
6.Try to enter a fixed size, e.g. 60dp
Comment 1 Dani Megert CLA 2012-07-03 05:28:15 EDT
What editor are you using exactly?
Hint: context menu > 'Open With' shows you the current editor.
Comment 2 Stefan Stalberg CLA 2012-07-03 11:31:45 EDT
I'm using the "Android Common XML Editor"
Comment 3 Stefan Stalberg CLA 2012-07-03 11:32:59 EDT
(In reply to comment #1)
> What editor are you using exactly?
> Hint: context menu > 'Open With' shows you the current editor.

I'm using the "Android Common XML Editor"
Comment 4 Dani Megert CLA 2012-07-03 11:34:30 EDT
(In reply to comment #3)
> (In reply to comment #1)
> > What editor are you using exactly?
> > Hint: context menu > 'Open With' shows you the current editor.
> 
> I'm using the "Android Common XML Editor"

Please file you're bug against the Android tooling.