better sizing of form controls, especially percentage based sizes and max element sizes
git-svn-id: svn://10.0.0.236/trunk@21570 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -90,13 +90,16 @@ class nsFormControlHelper
|
||||
public:
|
||||
|
||||
|
||||
static nscoord CalculateSize (nsIPresContext* aPresContext, nsIFormControlFrame* aFrame,
|
||||
const nsSize& aCSSSize, nsInputDimensionSpec& aDimensionSpec,
|
||||
nsSize& aBounds, PRBool& aWidthExplicit,
|
||||
PRBool& aHeightExplicit, nscoord& aRowSize,
|
||||
nsIRenderingContext *aRendContext);
|
||||
|
||||
|
||||
static nscoord CalculateSize (nsIPresContext* aPresContext,
|
||||
nsIRenderingContext* aRendContext,
|
||||
nsIFormControlFrame* aFrame,
|
||||
const nsSize& aCSSSize,
|
||||
nsInputDimensionSpec& aDimensionSpec,
|
||||
nsSize& aDesiredSize,
|
||||
nsSize& aMinSize,
|
||||
PRBool& aWidthExplicit,
|
||||
PRBool& aHeightExplicit,
|
||||
nscoord& aRowSize);
|
||||
|
||||
static nscoord GetTextSize(nsIPresContext& aContext, nsIFormControlFrame* aFrame,
|
||||
const nsString& aString, nsSize& aSize,
|
||||
|
||||
Reference in New Issue
Block a user