mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
Try to match line-padding in theme converter.
This commit is contained in:
parent
651bf11e3b
commit
2b8179b684
1 changed files with 5 additions and 0 deletions
|
@ -788,6 +788,11 @@ void rofi_theme_convert_old ( void )
|
||||||
char *str = g_strdup_printf ( "#window.mainbox.listview.element { padding: %dpx;}", config.line_padding );
|
char *str = g_strdup_printf ( "#window.mainbox.listview.element { padding: %dpx;}", config.line_padding );
|
||||||
rofi_theme_parse_string ( str );
|
rofi_theme_parse_string ( str );
|
||||||
g_free ( str );
|
g_free ( str );
|
||||||
|
// inputbar
|
||||||
|
str = g_strdup_printf ( "#window.mainbox.inputbar { padding: %dpx;}\n"\
|
||||||
|
"#window.mainbox.inputbar.box { padding: 0px; }", config.line_padding );
|
||||||
|
rofi_theme_parse_string ( str );
|
||||||
|
g_free ( str );
|
||||||
}
|
}
|
||||||
if ( config.hide_scrollbar ) {
|
if ( config.hide_scrollbar ) {
|
||||||
const char *str = "#window.mainbox.listview.box { scrollbar: false; }";
|
const char *str = "#window.mainbox.listview.box { scrollbar: false; }";
|
||||||
|
|
Loading…
Reference in a new issue