=> 7d0d4a6821644a73fc52b54eba6774ba5a64cb54
[1mdiff --git a/src/ui/util.c b/src/ui/util.c[m [1mindex 3c40d4a5..44f7e089 100644[m [1m--- a/src/ui/util.c[m [1m+++ b/src/ui/util.c[m [36m@@ -924,7 +924,7 @@[m [mstatic iWidget *appendTwoColumnPage_(iWidget *tabs, const char *title, int short[m iWidget **values) {[m iWidget *page = new_Widget();[m setFlags_Widget(page, arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag |[m [31m- resizeHeightOfChildren_WidgetFlag, iTrue);[m [32m+[m[32m resizeHeightOfChildren_WidgetFlag | borderTop_WidgetFlag, iTrue);[m addChildFlags_Widget(page, iClob(new_Widget()), expand_WidgetFlag);[m iWidget *columns = new_Widget();[m addChildFlags_Widget(page, iClob(columns), arrangeHorizontal_WidgetFlag | arrangeSize_WidgetFlag);[m [36m@@ -934,6 +934,10 @@[m [mstatic iWidget *appendTwoColumnPage_(iWidget *tabs, const char *title, int short[m columns, iClob(new_Widget()), arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag);[m addChildFlags_Widget(page, iClob(new_Widget()), expand_WidgetFlag);[m appendTabPage_Widget(tabs, page, title, shortcut, shortcut ? KMOD_PRIMARY : 0);[m [32m+[m[32m setFlags_Widget([m [32m+[m[32m (iWidget *) back_ObjectList(children_Widget(findChild_Widget(tabs, "tabs.buttons"))),[m [32m+[m[32m frameless_WidgetFlag,[m [32m+[m[32m iTrue);[m return page;[m }[m [m [1mdiff --git a/src/ui/widget.c b/src/ui/widget.c[m [1mindex d10d73e1..d8c2c421 100644[m [1m--- a/src/ui/widget.c[m [1m+++ b/src/ui/widget.c[m [36m@@ -599,6 +599,12 @@[m [miBool processEvent_Widget(iWidget *d, const SDL_Event *ev) {[m [m void drawBackground_Widget(const iWidget *d) {[m if (d->flags & hidden_WidgetFlag) return;[m [32m+[m[32m if (flags_Widget(d) & borderTop_WidgetFlag) {[m [32m+[m[32m const iRect rect = bounds_Widget(d);[m [32m+[m[32m iPaint p;[m [32m+[m[32m init_Paint(&p);[m [32m+[m[32m drawHLine_Paint(&p, topLeft_Rect(rect), width_Rect(rect), uiBackgroundFramelessHover_ColorId);[m [32m+[m[32m }[m if (d->bgColor >= 0 || d->frameColor >= 0) {[m const iRect rect = bounds_Widget(d);[m iPaint p;[m [1mdiff --git a/src/ui/widget.h b/src/ui/widget.h[m [1mindex fd7ee316..f5e255f2 100644[m [1m--- a/src/ui/widget.h[m [1m+++ b/src/ui/widget.h[m [36m@@ -87,6 +87,7 @@[m [menum iWidgetFlag {[m #define centerHorizontal_WidgetFlag iBit64(33)[m #define moveToParentRightEdge_WidgetFlag iBit64(34)[m #define wrapText_WidgetFlag iBit64(35)[m [32m+[m[32m#define borderTop_WidgetFlag iBit64(36)[m [m enum iWidgetAddPos {[m back_WidgetAddPos,[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).