The month grid sized its seven day columns from the width the launcher reports, which is not the width the widget is drawn into. The columns came out too wide, so only about four fitted and the last one was cut off. Both widgets now draw at a WidgetSize the user picks in Settings, and nothing reads LocalSize any more (SizeMode.Single for both). The month grid lays its columns out at a fixed width and centres them, which also keeps a multi-day event one connected bar; minResizeWidth is raised so the smallest step always fits. Closes #103 Closes #51
This commit is contained in:
@@ -354,6 +354,14 @@
|
||||
<string name="settings_agenda_range_hint">How far ahead the Agenda screen lists events.</string>
|
||||
<string name="settings_agenda_widget_range">Agenda widget range</string>
|
||||
<string name="settings_agenda_widget_range_hint">How far ahead the agenda home-screen widget lists events.</string>
|
||||
|
||||
<string name="settings_widgets_header">Widgets</string>
|
||||
<string name="settings_widget_size">Widget size</string>
|
||||
<string name="settings_widget_size_hint">How large both home-screen widgets draw their text and, for the month widget, its day columns. Pick a bigger size to fill a bigger widget.</string>
|
||||
<string name="settings_widget_size_small">Small</string>
|
||||
<string name="settings_widget_size_medium">Medium</string>
|
||||
<string name="settings_widget_size_large">Large</string>
|
||||
<string name="settings_widget_size_extra_large">Extra large</string>
|
||||
<string name="settings_agenda_show_today">Always show today</string>
|
||||
<string name="settings_agenda_show_today_hint">Keep today at the top of the agenda and its widget, even once nothing is left today.</string>
|
||||
<string name="settings_agenda_range_bar">Range bar</string>
|
||||
|
||||
Reference in New Issue
Block a user