diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/documentwidget.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index c4d7c56a..94a58a35 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -1200,7 +1200,6 @@ static void makeFooterButtons_DocumentWidget_(iDocumentWidget *d, const iMenuIte | |||
1200 | resizeWidthOfChildren_WidgetFlag | arrangeHeight_WidgetFlag | | 1200 | resizeWidthOfChildren_WidgetFlag | arrangeHeight_WidgetFlag | |
1201 | fixedPosition_WidgetFlag | resizeToParentWidth_WidgetFlag, | 1201 | fixedPosition_WidgetFlag | resizeToParentWidth_WidgetFlag, |
1202 | iTrue); | 1202 | iTrue); |
1203 | //setBackgroundColor_Widget(d->footerButtons, tmBackground_ColorId); | ||
1204 | for (size_t i = 0; i < count; ++i) { | 1203 | for (size_t i = 0; i < count; ++i) { |
1205 | iLabelWidget *button = addChildFlags_Widget( | 1204 | iLabelWidget *button = addChildFlags_Widget( |
1206 | d->footerButtons, | 1205 | d->footerButtons, |
@@ -1210,11 +1209,8 @@ static void makeFooterButtons_DocumentWidget_(iDocumentWidget *d, const iMenuIte | |||
1210 | setPadding1_Widget(as_Widget(button), gap_UI / 2); | 1209 | setPadding1_Widget(as_Widget(button), gap_UI / 2); |
1211 | checkIcon_LabelWidget(button); | 1210 | checkIcon_LabelWidget(button); |
1212 | setFont_LabelWidget(button, uiContent_FontId); | 1211 | setFont_LabelWidget(button, uiContent_FontId); |
1212 | setBackgroundColor_Widget(as_Widget(button), uiBackgroundSidebar_ColorId); | ||
1213 | } | 1213 | } |
1214 | // if (deviceType_App() == phone_AppDeviceType) { | ||
1215 | /* Footer buttons shouldn't be under the toolbar. */ | ||
1216 | // addChild_Widget(d->footerButtons, iClob(makePadding_Widget(height_Widget(d->phoneToolbar)))); | ||
1217 | // } | ||
1218 | addChild_Widget(as_Widget(d), iClob(d->footerButtons)); | 1214 | addChild_Widget(as_Widget(d), iClob(d->footerButtons)); |
1219 | arrange_Widget(d->footerButtons); | 1215 | arrange_Widget(d->footerButtons); |
1220 | arrange_Widget(w); | 1216 | arrange_Widget(w); |