Skip to content

Commit 5164955

Browse files
committed
fix(gui): the default border color of the widget should be transparent
1 parent a326e8c commit 5164955

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/gui/widget_style.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const char *global_css = CodeToString(
5555
width: auto;
5656
height: auto;
5757
background-color: transparent;
58-
border: 0px solid #000;
58+
border: 0px solid transparent;
5959
display: block;
6060
position: static;
6161
padding: 0;
@@ -312,7 +312,7 @@ void LCUIWidget_InitStyle(void)
312312
LCUI_InitCSSLibrary();
313313
LCUI_InitCSSParser();
314314
LCUI_InitCSSFontStyle();
315-
LCUI_LoadCSSString(global_css, NULL);
315+
LCUI_LoadCSSString(global_css, __FILE__);
316316
}
317317

318318
void LCUIWidget_FreeStyle(void)

0 commit comments

Comments
 (0)