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