cid#1608542 PA: Public Attribute

Change-Id: Idb368b38229ae9c02172a58997591df80da2a8ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172387
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
This commit is contained in:
Caolán McNamara
2024-08-26 15:02:22 +02:00
parent e4110d1a80
commit 5a0576db4b
2 changed files with 7 additions and 3 deletions
@@ -242,9 +242,8 @@ public class UIControlArranger
m_aButtonList.setShowButtons(false); // shows a button line at ''wrong'' position like |<| 1..4/4 |>|
m_aButtonList.setRenderer(new LayoutRenderer());
m_aButtonList.setGap(new Size(3, 3));
// m_aButtonList.scaleImages = Boolean.FALSE;
m_aButtonList.tabIndex = curtabindex++;
m_aButtonList.helpURL = 34453 + (formindex * 4);
m_aButtonList.setHelpURL(34453 + (formindex * 4));
m_aButtonList.setListModel(model);
m_aButtonList.create(CurUnoDialog);
@@ -61,7 +61,7 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
private String m_aControlName = "il";
private int m_nCurrentSelection = -1;
private int pageStart = 0;
public int helpURL = 0;
private int helpURL = 0;
private IRenderer renderer;
private ListModel listModel;
private IRenderer counterRenderer = new SimpleCounterRenderer();
@@ -72,6 +72,11 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
m_aControlName = _sName;
}
public void setHelpURL(int _helpURL)
{
helpURL = _helpURL;
}
/** Setter for property m_aButtonSize.
* @param imageSize New value of property m_aButtonSize.
*/