Skip to content

Commit

Permalink
fix(gui): the default border color of the widget should be transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-soft committed Oct 7, 2019
1 parent a326e8c commit 5164955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/widget_style.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const char *global_css = CodeToString(
width: auto;
height: auto;
background-color: transparent;
border: 0px solid #000;
border: 0px solid transparent;
display: block;
position: static;
padding: 0;
Expand Down Expand Up @@ -312,7 +312,7 @@ void LCUIWidget_InitStyle(void)
LCUI_InitCSSLibrary();
LCUI_InitCSSParser();
LCUI_InitCSSFontStyle();
LCUI_LoadCSSString(global_css, NULL);
LCUI_LoadCSSString(global_css, __FILE__);
}

void LCUIWidget_FreeStyle(void)
Expand Down

0 comments on commit 5164955

Please sign in to comment.