Re: Lintalist 1.4 Searchable interactive lists 2 copy&paste
Posted: 18 Mar 2015, 17:11
I modified the font at least in the boxes where the snippets are displayed and editted. It required a handful of changes but in two files as the editor is a separate file. If you decide to make it an option it should be fairly easy.
Also the Listview did not appear to be calculating the column widths correctly which caused there to be blank space left at the right of the columns.
I made changes in UpdateLVColWidth that made things display better for me.
FG
Also the Listview did not appear to be calculating the column widths correctly which caused there to be blank space left at the right of the columns.
I made changes in UpdateLVColWidth that made things display better for me.
Code: Select all
UpdateLVColWidth()
{
global
local c4w
LV_ModifyCol(5,0) ; hidden Bundle_Index column, always hide
c1w:=Round((Width - 50 - 60) / 2) - 3
c2w:=c1w
If (Col3 = 0) ; shortcut column
{
LV_ModifyCol(3,0)
c2w += 25
c1w += 25
}
Else
LV_ModifyCol(3,50)
If (Col4 = 0) ; abbreviation/shorthand column
{
LV_ModifyCol(4,0)
c1w += 30
c2w += 30
}
Else
LV_ModifyCol(4,60)
If (Col2 = 0) ; paste2 column is empty so no need to show
{
c1w += c2w
LV_ModifyCol(1,c1w) ; col1 is paste1 column
LV_ModifyCol(2,0) ; no second part so don't show
}
Else
{
LV_ModifyCol(1,c1w) ; col1 is paste1 column
LV_ModifyCol(2,c2w) ; paste2 column has content so show it
}
}