size

Is it possible (and how) to remove unutilized widgets from Ext JS library?

Hello. Ext JS base and widgets together offer me the solution I've been looking for. The Ext JS library is somewhat heavy w.r.t. conventional standards. There are several widgets in the library that I am not using. So I want to know if it is possible to remove the corresponding code (of widgets not being used) from the ext-all.js ? To ...

how to find out the page size of a processor using C program and malloc?

is it possible to find out the page size of a processor using C program and malloc? and not by using sysconf() call? ...

How to get iPhone, not iPad view in Interface Builder

At first, I was not able to build a new blank project to iPhone using the new XCode 3.2 beta. I edited the project settings and was able to build the blank app to iPhone simulator. However, when I open the nib for the project in IB and click the view, it opens an iPad size view. How do I get the right sized view to work on in IB? ...

Set List View Size Android

Hello , I am using List View in my project where i have used a xml file which is used to create the list item.Then i have used it programmatically in my class which is extended by ListActivity. But the problem is i have to add a button in the bottom of screen which is not related to list view but List view covers all the screen. So,is th...

Executable size difference between VS C++ 2008 Express and Professional

We see a size difference here when building our application in VC 2008 Express vs. VC 2008 Professional (both SP1). The EXE built by VC 2008 Professional is about 10%+ smaller. We are using the exact same project files, so all the settings are the same and we're also building on the same OS with the same platform SDK, DLLs etc. installed...

ActionScript 3.0 Getting Size/Coordinates From Loader Content

i'm attempting to position a textfield to the bottom left of an image that is added to the display list from the Loader() class. i don't know how to access the width/height information of the image. var dragSprite:Sprite = new Sprite(); this.addChild(dragSprite); var imageLoader:Loader = new Loader(); imageLoader.load(new URLRequest("...

How to make Edittext size stay put? Android

Hi everybody, I know the attribute which makes the text "disapear" on the left part of the Edittext to maintain a single line, (singleLine="true"). But my issue is when I fill the edittext before the view is displayed... in this case, my edittexts are all going out of the screen... any ideas? thx! This is what is get when fill the empt...

What is the correct way to set size of elements of GUI?

I am using swing to create my GUI. J have a JFrame containing one main JPanel which, in its turn contain several JPanels which, in their turn, contain buttons. I would like to set certain sizes to mu buttons and JPanels. How does it work? Should I set sizes of my buttons and then the size of the JPanel and the JFrame will be set accordi...

ActionScript Screen Measurements

i'm attempting to use the Capabilities class to draw an accurately sized sprite on screen at exactly (2.5" x 5") regardless of the screen's resolution, but while i believe the code is correct, the size of the sprite is not accurate - when actually measuring it with a ruler. function inchesToPixels(inches:Number):uint { return Ma...

How can I set size of a button?

I put my buttons in a JPane with GridLayout. Then I put JPanel into another JPanel with BoxLayout.Y_AXIS. I want buttons in the GridLayout to be square. I use tmp.setSize(30,30) and it does not work. I also try to use new GridLayout(X, Y, 4, 4) but I cannot figure out what X and Y are. So, what is the correct way to do this stuff? ADDED...

Can I fix the width of JRadioButton?

I have sever JPanels which have to be ordered vertically. For that I want to fix the width of the JPanels. Because if they are too short in comparison with the windows width, they will go horizontally (one after another) and I do not want it. At the moment the width of the JPanel is not constant because the width of the JRadioButton (inc...

2 Files, Half the Content, vs. 1 File, Twice the Content, Which is Greater?

If I have 2 files each with this: "Hello World" (x 1000) Does that take up more space than 1 file with this: "Hello World" (x 2000) What are the drawbacks of dividing content into multiple smaller files (assuming there's reason to divide them into more files, not like this example)? Update: I'm using a Macbook Pro, 10.5. B...

Why setPreferredSize does not change the size of the button?

Here is the code: import javax.swing.*; import java.awt.event.*; import java.awt.*; public class TestGrid { public static void main(String[] args) { JFrame frame = new JFrame("Colored Trails"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JPanel mainPanel = new JPanel(); mainPanel.setLayou...

jQuery - bad div size in IE

hello, I have a problem with sizes of divs - in Firefox everything is fine, but IE messes things up, I use only jquery show hide function which open div with other divs nested in it, you can see what I mean on www.custos.pl/v1 - by choosing any option on the bottom, a div opens up, where you have a submenu opening up jScrollPanes, th...

Size and position of the C# form.

I use Visual Studio .NET to create a Windows-based application. The application includes a form named CForm. CForm contains 15 controls that enable users to set basic configuration options for the application. I design these controls to dynamically adjust when users resize CForm. The controls automatically update their size and position ...

Reduce the size of Picker control on view iPhone

hi Everyone.. I am working on Picker control and facing a problem of customising the size (REDUCING THE SIZE OF UIPICKER ) on the view.I tried it but it showed either the data in picker is overlapped or their is a dark grey background on both ends of picker .Response needed badly Thanks ...

How could I make WPF textbox control exceed the maximum size limit?

How could I make WPF textbox control exceed the maximum size limit? Don't tell me to use richeditbox or AvalonEdit control, since the richeditbox would be performance issues while has large amount of content inside. Thanks ...

fullCalendar Font size

Hi, I am having issues setting the calendar font sizes to be smaller. I have changed setting a container div font size, no effect. I have also changed the fullCalender.css font from 1em to 0.5em and to a px size but the calendar text stays the same. Is there anything obvious I am missing, sorry to post if this is very obvious but I hav...

how to add multiple widgets in one app?!!

Hello, I've just finished my Android widget. Now I need to have different sizes of this wiget for the user to choose from. for example I need a medium, small and large size widget. so when the user install the app and hold the the home screen then choose widget, in the widget menu I want him to see three widget with the same app name ...

Differing form size between XP and 7

I am developing a C# WinForms app on my XP dev machine with Visual C# Express 2008. I set the form to have a size of my liking with Width and Height on the designer and all looks good. I also set these dimensions to the MaximumSize property. Deploying the app to another XP machine, and the app looks like it does on my dev. However, in...