Questions tagged [widget]

A widget is an element of a user interface (GUI widget) or a self-contained (usually small) software application (desktop widget). In computing , an application, or a component of an interface, that enables a user to perform a function or access a service.

A widget is a relatively small-scale, typically easy to use, software application or component made for one or more different software platforms or contexts.

Use

Any widget displays an information arrangement changeable by the user, such as a window or a text box. The defining characteristic of a widget is to provide a single interaction point for the direct manipulation of a given kind of data. In other words, widgets are basic visual building blocks which, combined in an application, hold all the data processed by the application and the available interactions on this data.

12030 questions
520
votes
26 answers

Resizing an iframe based on content

I am working on an iGoogle-like application. Content from other applications (on other domains) is shown using iframes. How do I resize the iframes to fit the height of the iframes' content? I've tried to decipher the javascript Google uses but…
larssg
  • 5,385
  • 3
  • 21
  • 23
274
votes
22 answers

When the keyboard appears, the Flutter widgets resize. How to prevent this?

I have a Column of Expanded widgets like this: return new Container( child: new Column( crossAxisAlignment: CrossAxisAlignment.stretch, children: [ new Expanded( flex: 1, child:…
Mary
  • 18,347
  • 23
  • 59
  • 76
247
votes
13 answers

How do I center text vertically and horizontally in Flutter?

I'd like to know how to center the contents of a Text widget vertically and horizontally in Flutter. I only know how to center the widget itself using Center(child: Text("test")) but not the content itself. By default, it's aligned to the left. In…
jeroen-meijer
  • 2,664
  • 2
  • 13
  • 16
245
votes
11 answers

Textarea that can do syntax highlighting on the fly?

I am storing a number of HTML blocks inside a CMS for reasons of easier maintenance. They are represented by