diff options
Diffstat (limited to 'lib/Phi/Border.hs')
-rw-r--r-- | lib/Phi/Border.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Phi/Border.hs b/lib/Phi/Border.hs index a110f2d..0e7fbdc 100644 --- a/lib/Phi/Border.hs +++ b/lib/Phi/Border.hs @@ -15,7 +15,7 @@ data BorderWidth = BorderWidth { borderTop :: !Int , borderRight :: !Int , borderBottom :: !Int , borderLeft :: !Int - } + } deriving Show simpleBorderWidth :: Int -> BorderWidth simpleBorderWidth w = BorderWidth w w w w @@ -34,7 +34,7 @@ data Border = Border { margin :: !BorderWidth , cornerRadius :: !Double , borderWeight :: !Float , content :: ![Widget] - } + } deriving Show instance WidgetClass Border where type WidgetData Border = () |