summaryrefslogtreecommitdiff
path: root/include/sfx2/dinfdlg.hxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-17 20:43:06 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-17 20:48:39 +0200
commiteacc9e6bad22525e99e243b3fbb2405a00503bd3 (patch)
tree5419e895fb028e4e34a715a0e5cae4ac9d6758d5 /include/sfx2/dinfdlg.hxx
parent61aaf3814c25b229479ede786521786997aa4f0f (diff)
Customproperties: Correctly size Date
Old behavior: 1) Add a property of type "Date". DateField inside Value column uses the full width. 2) Increase the width of the dialog. Now the size of DateField in the Value column only uses the half width. Solution: Set a flag if the current type is of Date. So we can correct the size after a dialog resize action. Change-Id: I915a553b2f69aac1aea0ac5b24536db5709abfae
Diffstat (limited to 'include/sfx2/dinfdlg.hxx')
-rw-r--r--include/sfx2/dinfdlg.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index 9cf734942d77..111043d3e499 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -390,6 +390,7 @@ struct CustomPropertyLine
CustomPropertiesYesNoButton m_aYesNoButton;
CustomPropertiesRemoveButton m_aRemoveButton;
+ bool m_bIsDate;
bool m_bIsRemoved;
bool m_bTypeLostFocus;