This commit is contained in:
asep komarudin 2023-01-15 17:55:43 +07:00
parent 2fbcd5d268
commit 1331c98c58
3 changed files with 21 additions and 19 deletions

View file

@ -280,21 +280,22 @@ return {
-- ))
-- *ini untuk popup dialog
wilder.set_option('renderer', wilder.popupmenu_renderer(
wilder.popupmenu_palette_theme({
wilder.set_option(
"renderer",
wilder.popupmenu_renderer(wilder.popupmenu_palette_theme({
-- 'single', 'double', 'rounded' or 'solid'
-- can also be a list of 8 characters, see :h wilder#popupmenu_palette_theme() for more details
border = 'rounded',
max_height = '40%', -- max height of the palette
max_width='40%',
min_height = 0, -- set to the same as 'max_height' for a fixed height window
prompt_position = 'top', -- 'top' or 'bottom' to set the location of the prompt
reverse = 0, -- set to 1 to reverse the order of the list, use in combination with 'prompt_position'
border = "rounded",
max_height = "40%", -- max height of the palette
max_width = "40%",
min_height = 0, -- set to the same as 'max_height' for a fixed height window
prompt_position = "top", -- 'top' or 'bottom' to set the location of the prompt
reverse = 0, -- set to 1 to reverse the order of the list, use in combination with 'prompt_position'
left = { " ", wilder.popupmenu_devicons() },
right = { " ", wilder.popupmenu_scrollbar() },
right = { " ", wilder.popupmenu_scrollbar() },
pumblend = 20,
})
))
}))
)
end,
},
{