mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
parent
7a5eff56b0
commit
1514087389
@ -214,9 +214,9 @@ void InsetCollapsable::metrics(MetricsInfo & mi, Dimension & dim) const
|
|||||||
case LeftButton:
|
case LeftButton:
|
||||||
case ButtonOnly:
|
case ButtonOnly:
|
||||||
if (hasFixedWidth()){
|
if (hasFixedWidth()){
|
||||||
const int mindim=button_dim.x2-button_dim.x1;
|
int const mindim = button_dim.x2 - button_dim.x1;
|
||||||
if (mi.base.textwidth<mindim)
|
if (mi.base.textwidth < mindim)
|
||||||
mi.base.textwidth=mindim;
|
mi.base.textwidth = mindim;
|
||||||
}
|
}
|
||||||
dim = dimensionCollapsed(bv);
|
dim = dimensionCollapsed(bv);
|
||||||
if (geometry(bv) == TopButton
|
if (geometry(bv) == TopButton
|
||||||
|
Loading…
Reference in New Issue
Block a user