Mig-infocom MiG Calendar Getting Started Guide Manuale Utente Pagina 14

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 31
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 13
MiG InfoCom AB
They are drawn with a Decorator like everything else but
only the layer index in which the activities are drawn can be
changed with the CalendarTheme. The size and position
can be changed with the theme since those are properties of
the ActivityLayout system and not how if looks.
See Customizing how activities look and feel under the
manual section below for an explanation on how to change
the look of an ActivityView.
Customizing Activities Size and Position
There are currently three different ActivityLayouts
delivered with the component; FlexGridLayout,
HideLayout and TimeBoundsLayout. They can all be
customized to great extent using the theme.
Under the CalendarTheme.KEY_LAYOUTS_AUTO_INSTALL
list key you can add your own layouts if needed. With the
Theme Editor you can configure and reorder the built in
layouts. See the Theme Editor Tutorial for more information on
how to do this.
To set a layout with a little more space around the activity
than default add these rows just before you create the
container:
TimeBoundsLayout layout = new TimeBoundsLayout(
new AtFixed(15), new AtStart(15), new AtEnd(-15), 15);
theme.removeAllFromList(CalendarTheme.KEY_LAYOUTS_AUTO_INSTALL);
theme.addToList(CalendarTheme.KEY_LAYOUTS_AUTO_INSTALL, layout);
MiG Calendar Getting Started Guide Page 14 / 31
Vedere la pagina 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 30 31

Commenti su questo manuale

Nessun commento